From 80738efbdff37e552399e31cac114a66c81b7e22 Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 28 Nov 2025 17:23:14 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../state/factory/TokenDetailsNotificationConverter.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsNotificationConverter.kt b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsNotificationConverter.kt index dfb37410b9..0b4d3a4e71 100644 --- a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsNotificationConverter.kt +++ b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/state/factory/TokenDetailsNotificationConverter.kt @@ -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, )