Add password removed screen

This commit is contained in:
Ali
2021-07-08 23:45:18 +04:00
parent 2c7264dff0
commit bdc183673b
8 changed files with 3836 additions and 4228 deletions

View File

@@ -733,9 +733,13 @@ public func privacyAndSecurityController(context: AccountContext, initialSetting
case .set:
break
case let .notSet(pendingEmail):
//intro = pendingEmail == nil
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
} else {