Secrets recover with key: Add reset action.

This commit is contained in:
SBiOSoftWhare
2020-09-30 17:44:25 +02:00
parent af702d4b04
commit ca41814c24
7 changed files with 55 additions and 11 deletions

View File

@@ -50,6 +50,8 @@ final class SecretsRecoveryWithKeyViewModel: SecretsRecoveryWithKeyViewModelType
switch viewAction {
case .recover:
self.recover()
case .resetSecrets:
self.coordinatorDelegate?.secretsRecoveryWithKeyViewModelWantsToResetSecrets(self)
case .cancel:
self.coordinatorDelegate?.secretsRecoveryWithKeyViewModelDidCancel(self)
}