Updated on 2026-08-14
This commit is contained in:
parent
ac9618a1f2
commit
83ec2441f2
1 changed files with 1 additions and 2 deletions
|
|
@ -103,11 +103,10 @@ private fun handleWalletAction(action: Action) {
|
|||
}
|
||||
OnboardingWalletAction.ProceedBackup -> {
|
||||
val newAction = when (val backupState = backupService.currentState) {
|
||||
BackupService.State.Preparing -> BackupAction.IntroduceBackup
|
||||
BackupService.State.FinalizingPrimaryCard -> BackupAction.PrepareToWritePrimaryCard
|
||||
is BackupService.State.FinalizingBackupCard ->
|
||||
BackupAction.PrepareToWriteBackupCard(backupState.index)
|
||||
BackupService.State.Finished -> BackupAction.FinishBackup
|
||||
else -> BackupAction.IntroduceBackup
|
||||
}
|
||||
store.dispatch(newAction)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue