Secrets recover with key: Add reset action.

This commit is contained in:
SBiOSoftWhare
2020-09-30 17:44:25 +02:00
parent 07e3ed94fa
commit 53e0b2e0cd
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)
}