Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-09 23:12:38 +03:00
parent 97890ac750
commit e53a4bf899

View file

@ -89,7 +89,7 @@ private fun FiatBalance(
)
is TokenDetailsBalanceBlockState.Error -> Text(
modifier = modifier,
text = BigDecimalFormatter.EMPTY_BALANCE_SIGN,
text = if (isBalanceHidden) STARS else BigDecimalFormatter.EMPTY_BALANCE_SIGN,
style = TangemTheme.typography.h2,
color = TangemTheme.colors.text.primary1,
)
@ -117,7 +117,7 @@ private fun CryptoBalance(
)
is TokenDetailsBalanceBlockState.Error -> Text(
modifier = modifier,
text = BigDecimalFormatter.EMPTY_BALANCE_SIGN,
text = if (isBalanceHidden) STARS else BigDecimalFormatter.EMPTY_BALANCE_SIGN,
style = TangemTheme.typography.caption,
color = TangemTheme.colors.text.tertiary,
)