Security settings: Manage the case when there is no secure backup

This commit is contained in:
manuroe
2021-06-16 11:50:50 +02:00
parent fa69884d24
commit ef0305bb65
4 changed files with 48 additions and 4 deletions
@@ -26,6 +26,7 @@ import UIKit
/// - keyBackupNotTrusted: There is a backup on the homeserver but it is not trusted
enum SettingsSecureBackupViewState {
case checkingBackup
case noSecureBackup
case noKeyBackup
case keyBackup(MXKeyBackupVersion, MXKeyBackupVersionTrust)
case keyBackupAndRunning(MXKeyBackupVersion, MXKeyBackupVersionTrust, Progress)