[ios] Handling phone auth cancel.

This commit is contained in:
VladiMihaylenko 2018-04-20 11:45:33 +03:00 committed by Aleksandr Zatsepin
parent 0945fe8f98
commit 0572ce5287

View file

@ -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)