Updated on 2026-08-14
This commit is contained in:
parent
3aabaa8a62
commit
7ad88abfd8
1 changed files with 4 additions and 4 deletions
|
|
@ -147,11 +147,11 @@ private fun handleOnboardingSaltPayAction(anyAction: Action, appState: () -> App
|
|||
return@launch
|
||||
}
|
||||
handleInProgress = false
|
||||
if (state.readyToClaim()) {
|
||||
withMainContext { store.dispatch(OnboardingSaltPayAction.SetStep(SaltPayRegistrationStep.Claim)) }
|
||||
} else {
|
||||
onError(SaltPayRegistrationError.NoFundsToClaim)
|
||||
val step = when (state.readyToClaim()) {
|
||||
true -> SaltPayRegistrationStep.Claim
|
||||
else -> SaltPayRegistrationStep.Finished
|
||||
}
|
||||
withMainContext { store.dispatch(OnboardingSaltPayAction.SetStep(step)) }
|
||||
}
|
||||
}
|
||||
is OnboardingSaltPayAction.TrySetPin -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue