forked from organicmaps/organicmaps
[ios] Correct auth cancel.
This commit is contained in:
parent
9aada795b9
commit
2bc430a280
1 changed files with 4 additions and 1 deletions
|
@ -118,7 +118,10 @@ final class AuthorizationViewController: MWMViewController {
|
|||
}
|
||||
|
||||
@IBAction func onCancel() {
|
||||
dismiss(animated: true, completion: nil)
|
||||
dismiss(animated: true, completion: {
|
||||
(UIApplication.shared.keyWindow?.rootViewController as?
|
||||
UINavigationController)?.popToRootViewController(animated: true)
|
||||
})
|
||||
}
|
||||
|
||||
private func process(error: Error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue