Implements #4693 - Alert users of Element on iOS11 deprecation.

This commit is contained in:
Stefan Ceriu
2021-08-24 14:58:12 +03:00
committed by Stefan Ceriu
parent 5c3f054a63
commit 95572d5e44
24 changed files with 823 additions and 26 deletions

View File

@@ -172,7 +172,7 @@ final class SecureBackupSetupIntroViewController: UIViewController {
// we need to get this private key first. Ask the user to make a key backup restore to catch it
if keyBackup.keyBackupVersion != nil && keyBackup.hasPrivateKeyInCryptoStore == false {
let alertContoller = UIAlertController(title: VectorL10n.secureKeyBackupSetupExistingBackupErrorTitle,
let alertController = UIAlertController(title: VectorL10n.secureKeyBackupSetupExistingBackupErrorTitle,
message: VectorL10n.secureKeyBackupSetupExistingBackupErrorInfo,
preferredStyle: .alert)
@@ -188,11 +188,11 @@ final class SecureBackupSetupIntroViewController: UIViewController {
self.delegate?.secureBackupSetupIntroViewControllerDidCancel(self, showSkipAlert: false)
}
alertContoller.addAction(connectAction)
alertContoller.addAction(resetAction)
alertContoller.addAction(cancelAction)
alertController.addAction(connectAction)
alertController.addAction(resetAction)
alertController.addAction(cancelAction)
self.present(alertContoller, animated: true)
self.present(alertController, animated: true)
}
}