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

@@ -621,7 +621,7 @@ public final class TwoFactorDataInputScreen: ViewController {
strongSelf.stateUpdated(.passwordSet(password: password, hasRecoveryEmail: true, hasSecureValues: false))
}
(strongSelf.navigationController as? NavigationController)?.replaceController(strongSelf, with: TwoFactorAuthSplashScreen(sharedContext: strongSelf.sharedContext, engine: strongSelf.engine, mode: .recoveryDone(recoveredAccountData: recoveredAccountData, syncContacts: syncContacts)), animated: true)
(strongSelf.navigationController as? NavigationController)?.replaceController(strongSelf, with: TwoFactorAuthSplashScreen(sharedContext: strongSelf.sharedContext, engine: strongSelf.engine, mode: .recoveryDone(recoveredAccountData: recoveredAccountData, syncContacts: syncContacts, isPasswordSet: !password.isEmpty)), animated: true)
}, error: { [weak self, weak statusController] error in
statusController?.dismiss()