Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-20 11:05:47 +02:00
parent 304e8d7e2e
commit 4d331c622d
2 changed files with 10 additions and 27 deletions

View file

@ -190,23 +190,12 @@ internal class WalletTokenCurrencyItemConverter(
)
}
is CryptoCurrencyStatus.Loading -> TangemTokenRowUM.EndContentUM.Loading
is CryptoCurrencyStatus.MissedDerivation -> TangemTokenRowUM.EndContentUM.Content(
text = stringReference(StringsSigns.DASH_SIGN),
)
is CryptoCurrencyStatus.MissedDerivation,
is CryptoCurrencyStatus.Unreachable,
is CryptoCurrencyStatus.NoAmount,
-> {
TangemTokenRowUM.EndContentUM.Content(
text = styledResourceReference(
id = R.string.common_unreachable,
spanStyleReference = { SpanStyle(color = TangemTheme.colors2.text.status.attention) },
),
endIcons = persistentListOf(
TangemIconUM.Icon(
iconRes = R.drawable.ic_attention_default_24,
tintReference = { TangemTheme.colors2.graphic.status.attention },
),
),
text = stringReference(StringsSigns.DASH_SIGN),
)
}
}