Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-28 17:23:14 +03:00
parent b70933a1e0
commit 80738efbdf

View file

@ -100,11 +100,11 @@ internal class TokenDetailsNotificationConverter(
)
CryptoCurrencyWarning.SomeNetworksUnreachable -> NetworksUnreachable
is CryptoCurrencyWarning.SomeNetworksNoAccount -> NetworksNoAccount(
network = warning.amountCurrency.name,
network = warning.amountCurrency.network.name,
amount = warning.amountToCreateAccount.format {
crypto(symbol = "", decimals = warning.amountCurrency.decimals)
},
symbol = warning.amountCurrency.symbol,
}.trim(),
symbol = warning.amountCurrency.network.currencySymbol,
)
is CryptoCurrencyWarning.TopUpWithoutReserve -> TopUpWithoutReserve
is CryptoCurrencyWarning.SwapPromo -> SwapPromo(
@ -132,7 +132,7 @@ internal class TokenDetailsNotificationConverter(
)
is CryptoCurrencyWarning.RequiredTrustline -> RequiredTrustlineWarning(
currency = warning.currency,
amount = warning.requiredAmount.format { crypto(symbol = "", warning.currencyDecimals) },
amount = warning.requiredAmount.format { crypto(symbol = "", warning.currencyDecimals) }.trim(),
currencySymbol = warning.currencySymbol,
onOpenClick = clickIntents::onOpenTrustlineClick,
)