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 b9f173f398
commit 66e80e37f1
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)
}