Issue #375 - User can't go twice in a row to SendFundsViewController

This commit is contained in:
Francisco Gindre 2022-04-26 17:53:01 -03:00 committed by Kris Nuttycombe
parent cd345f6ddc
commit 72c1f14aa6
1 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,13 @@ class SendViewController: UIViewController {
fail(error)
}
}
override func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
// swiftlint:disable:next force_try
try! synchronizer.stop() // Fail on purpose if this throws.
}
@objc func viewTapped(_ recognizer: UITapGestureRecognizer) {
let point = recognizer.location(in: self.view)