Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Mikhail Filimonov 2025-08-22 12:17:24 +01:00
commit 8dac4b39c1

View File

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