Secure backup: Add possibility to not expose recovery key when creating a secure backup.

This commit is contained in:
SBiOSoftWhare
2020-10-15 15:27:26 +02:00
parent 3b27dea332
commit 33759140ae
8 changed files with 123 additions and 62 deletions
@@ -20,7 +20,8 @@ import Foundation
/// SecretsSetupRecoveryKeyViewController view state
enum SecretsSetupRecoveryKeyViewState {
case loaded(_ passphraseOnly: Bool)
case loading
case loaded(_ recoveryKey: String)
case recoveryCreated(_ recoveryKey: String)
case error(Error)
}