forked from organicmaps/organicmaps
[ios] Handling phone auth cancel.
This commit is contained in:
parent
0945fe8f98
commit
0572ce5287
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ final class AuthorizationViewController: MWMViewController {
|
|||
self.process(token: token!, type: .phone)
|
||||
}, onFailure: {
|
||||
self.process(error: NSError(domain: kMapsmeErrorDomain, code: 0), type: .phone)
|
||||
self.errorHandler?(.cancelled)
|
||||
})
|
||||
|
||||
MapViewController.topViewController().navigationController?.pushViewController(wv!, animated: true)
|
||||
|
|
Loading…
Add table
Reference in a new issue