Updated on 2026-08-14
This commit is contained in:
parent
ddabdb4944
commit
3efe90f0dd
1 changed files with 2 additions and 1 deletions
|
|
@ -247,9 +247,10 @@ suspend fun SaltPayActivationManager.updateActivationStatus(
|
||||||
|
|
||||||
val fetchedAmountToClaim = getAmountToClaimIfNeeded(this, amountToClaim)
|
val fetchedAmountToClaim = getAmountToClaimIfNeeded(this, amountToClaim)
|
||||||
updateResult = when {
|
updateResult = when {
|
||||||
|
// if fetchedAmountToClaim = null -> then it already claimed
|
||||||
saltPayStep == SaltPayRegistrationStep.Claim && fetchedAmountToClaim == null -> {
|
saltPayStep == SaltPayRegistrationStep.Claim && fetchedAmountToClaim == null -> {
|
||||||
updateResult.copy(
|
updateResult.copy(
|
||||||
step = SaltPayRegistrationStep.KycReject,
|
step = SaltPayRegistrationStep.Finished,
|
||||||
amountToClaim = fetchedAmountToClaim,
|
amountToClaim = fetchedAmountToClaim,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue