Updated on 2026-08-14
This commit is contained in:
parent
b65233385e
commit
2ec61ee354
2 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ internal class YieldBalancesConverter(
|
|||
val rewards = yieldBalance?.balance?.items
|
||||
?.filter { it.type == BalanceType.REWARDS && !it.amount.isZero() }
|
||||
|
||||
val isActionable = rewards?.all { it.pendingActions.isNotEmpty() } == true
|
||||
val isActionable = rewards?.any { it.pendingActions.isNotEmpty() } == true
|
||||
val isRewardsClaimable = rewards?.isNotEmpty() == true
|
||||
|
||||
val isSolana = isSolana(cryptoCurrencyStatus.currency.network.id.value)
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ internal fun StakingClaimRewardsValidatorContent(
|
|||
.roundedShapeItemDecoration(index, state.rewards.lastIndex, false)
|
||||
.background(TangemTheme.colors.background.action)
|
||||
.clickable(
|
||||
enabled = item.pendingActions.isNotEmpty(),
|
||||
onClick = {
|
||||
clickIntents.onActiveStake(item)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue