Updated on 2026-08-14
This commit is contained in:
parent
1166f7e8bf
commit
84cf236d5f
20 changed files with 258 additions and 10 deletions
|
|
@ -218,6 +218,13 @@ class TokenItemStateConverter(
|
|||
text = status.getFormattedFiatAmount(appCurrency = appCurrency),
|
||||
isFlickering = status.value.isFlickering(),
|
||||
icons = buildList {
|
||||
if (status.value.yieldSupplyStatus?.isActive == true &&
|
||||
status.value.yieldSupplyStatus?.isAllowedToSpend == false) {
|
||||
TokenItemState.FiatAmountState.Content.IconUM(
|
||||
iconRes = R.drawable.ic_alert_triangle_20,
|
||||
tint = IconTint.Warning,
|
||||
).let(::add)
|
||||
}
|
||||
if (!status.getStakedBalance().isZero()) {
|
||||
add(
|
||||
TokenItemState.FiatAmountState.Content.IconUM(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue