Updated on 2026-08-14
This commit is contained in:
parent
afdb81adac
commit
1bed77ffb1
4 changed files with 9 additions and 4 deletions
|
|
@ -94,7 +94,7 @@ internal class TokenDetailsLoadedBalanceConverter(
|
|||
currentState: TokenDetailsBalanceBlockState,
|
||||
status: CryptoCurrencyStatus,
|
||||
): TokenDetailsBalanceBlockState {
|
||||
val stakingCryptoAmount = (status.value.yieldBalance as? YieldBalance.Data)?.getTotalStakingBalance()
|
||||
val stakingCryptoAmount = (status.value.yieldBalance as? YieldBalance.Data)?.getTotalWithRewardsStakingBalance()
|
||||
val stakingFiatAmount = stakingCryptoAmount?.let { status.value.fiatRate?.multiply(it) }
|
||||
val isBalanceSelectorEnabled = stakingFeatureToggles.isStakingEnabled && !stakingCryptoAmount.isNullOrZero()
|
||||
return when (status.value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue