Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-24 21:32:54 +05:00
parent ddabdb4944
commit 3efe90f0dd

View file

@ -247,9 +247,10 @@ suspend fun SaltPayActivationManager.updateActivationStatus(
val fetchedAmountToClaim = getAmountToClaimIfNeeded(this, amountToClaim)
updateResult = when {
// if fetchedAmountToClaim = null -> then it already claimed
saltPayStep == SaltPayRegistrationStep.Claim && fetchedAmountToClaim == null -> {
updateResult.copy(
step = SaltPayRegistrationStep.KycReject,
step = SaltPayRegistrationStep.Finished,
amountToClaim = fetchedAmountToClaim,
)
}