mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
8dac4b39c1
1 changed files with 2 additions and 0 deletions
|
|
@ -192,6 +192,7 @@ public final class AuthorizationSequenceController: NavigationController, ASAuth
|
|||
return
|
||||
}
|
||||
strongSelf.account = updatedAccount
|
||||
strongSelf.inAppPurchaseManager = InAppPurchaseManager(engine: .unauthorized(strongSelf.engine))
|
||||
}
|
||||
controller.loginWithNumber = { [weak self, weak controller] number, syncContacts in
|
||||
guard let self else {
|
||||
|
|
@ -217,6 +218,7 @@ public final class AuthorizationSequenceController: NavigationController, ASAuth
|
|||
case let .sentCode(account):
|
||||
controller?.inProgress = false
|
||||
strongSelf.account = account
|
||||
strongSelf.inAppPurchaseManager = InAppPurchaseManager(engine: .unauthorized(strongSelf.engine))
|
||||
case .loggedIn:
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue