Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-23 14:58:20 +05:00
parent 8251b2ec98
commit 4c525f0cad

View file

@ -32,5 +32,5 @@ internal fun StakingActionType?.getPendingActionTitle(): TextReference = when (t
internal fun isSolanaWithdraw(networkId: String, pendingActions: ImmutableList<PendingAction>?): Boolean {
val isSolana = isSolana(networkId)
val isWithdraw = pendingActions?.all { it.type == StakingActionType.WITHDRAW } == true
return isSolana && isWithdraw
return isSolana && isWithdraw && !pendingActions.isNullOrEmpty()
}