Browse Source

added done function in both cases

pull/1/head
ccr 6 years ago
parent
commit
1013e7b6fc
  1. 4
      GMERemittance/Module/SendMoney/SendMoneyReceipt/User Interface/View/SendMoneyReceiptViewController.swift

4
GMERemittance/Module/SendMoney/SendMoneyReceipt/User Interface/View/SendMoneyReceiptViewController.swift

@ -78,7 +78,11 @@ class SendMoneyReceiptViewController: UIViewController {
// MARK: IBActions
@IBAction func done(_ sender: UIButton) {
if (self.shouldShowCancelAmmendButton) {
self.navigationController?.popToRootViewController(animated: true)
}else {
self.navigationController?.popViewController(animated: true)
}
}
// MARK: Other Functions

Loading…
Cancel
Save