Support updated voice chats API

This commit is contained in:
Ali
2021-07-09 00:50:50 +04:00
parent bdc183673b
commit b8beeabfc6
7 changed files with 101 additions and 49 deletions

View File

@@ -734,11 +734,7 @@ public func privacyAndSecurityController(context: AccountContext, initialSetting
break
case let .notSet(pendingEmail):
if pendingEmail == nil {
/*#if DEBUG
let controller = TwoFactorAuthSplashScreen(sharedContext: context.sharedContext, engine: .authorized(context.engine), mode: .recoveryDone(recoveredAccountData: nil, syncContacts: false, isPasswordSet: false))
#else*/
let controller = TwoFactorAuthSplashScreen(sharedContext: context.sharedContext, engine: .authorized(context.engine), mode: .intro)
//#endif
pushControllerImpl?(controller, true)
return