Revert API

This commit is contained in:
Ali
2021-06-25 14:10:53 +04:00
parent 63a313b1cf
commit e6c5c163e3
9 changed files with 120 additions and 136 deletions

View File

@@ -475,7 +475,7 @@ public final class TwoFactorDataInputScreen: ViewController {
}
private func performRecovery(recovery: TwoFactorDataInputMode.Recovery, password: String, hint: String) {
let statusController = OverlayStatusController(theme: self.presentationData.theme, type: .loading(cancelled: nil))
/*let statusController = OverlayStatusController(theme: self.presentationData.theme, type: .loading(cancelled: nil))
self.present(statusController, in: .window(.root))
let _ = (performPasswordRecovery(accountManager: self.sharedContext.accountManager, account: recovery.account, code: recovery.code, syncContacts: recovery.syncContacts, updatedPassword: password.isEmpty ? .none : .password(password: password, hint: hint, email: nil))
@@ -507,7 +507,7 @@ public final class TwoFactorDataInputScreen: ViewController {
}
strongSelf.dismiss()
})
})*/
}
}