This commit is contained in:
Peter
2018-11-23 04:38:14 +03:00
parent 054688879a
commit 89696eb037
11 changed files with 210 additions and 86 deletions

View File

@@ -238,7 +238,7 @@ public final class AuthorizationSequenceController: NavigationController {
let _ = (strongSelf.account.postbox.transaction { transaction -> Void in
transaction.setState(UnauthorizedAccountState(isTestingEnvironment: account.testingEnvironment, masterDatacenterId: account.masterDatacenterId, contents: .empty))
}).start()
})]), on: .root, blockInteraction: false)
})]), on: .root, blockInteraction: false, completion: {})
})
], actionLayout: .vertical)
contentNode.textAttributeAction = (NSAttributedStringKey(rawValue: TelegramTextAttributes.URL), { value in
@@ -251,7 +251,7 @@ public final class AuthorizationSequenceController: NavigationController {
controller?.dismissAnimated()
}
strongSelf.view.endEditing(true)
strongSelf.currentWindow?.present(controller, on: .root, blockInteraction: false)
strongSelf.currentWindow?.present(controller, on: .root, blockInteraction: false, completion: {})
}
presentAlertAgainImpl = {
presentAlertImpl()