Secure backup: Allow to execute a random closure the secure backup is unlocked

Only from swift.
We should change the name "SecretsRecovery" classes
This commit is contained in:
manuroe
2021-06-16 07:44:12 +02:00
parent 52efa68900
commit 2b98eccbfc
8 changed files with 83 additions and 27 deletions
@@ -103,6 +103,8 @@ final class SecretsRecoveryWithKeyViewController: UIViewController {
switch self.viewModel.recoveryGoal {
case .default, .keyBackup, .restoreSecureBackup:
informationText = VectorL10n.secretsRecoveryWithKeyInformationDefault
case .unlockSecureBackup(_):
informationText = VectorL10n.secretsRecoveryWithKeyInformationUnlockSecureBackupWithKey
case .verifyDevice:
informationText = VectorL10n.secretsRecoveryWithKeyInformationVerifyDevice
}