Updated on 2026-08-14
This commit is contained in:
parent
f2a3003f0c
commit
5c3f579271
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ internal class YieldBalancesConverter(
|
|||
val cryptoCurrencyStatus = cryptoCurrencyStatusProvider()
|
||||
val yieldBalance = cryptoCurrencyStatus.value.yieldBalance as? YieldBalance.Data
|
||||
val rewards = yieldBalance?.balance?.items
|
||||
?.filter { it.type == BalanceType.REWARDS }
|
||||
?.filter { it.type == BalanceType.REWARDS && !it.amount.isZero() }
|
||||
|
||||
val isActionable = rewards?.all { it.pendingActions.isNotEmpty() } == true
|
||||
val isRewardsClaimable = rewards?.isNotEmpty() == true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue