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