From e68d8b0eed3181a15ce6d1002f8b40835964d386 Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 19 Jun 2026 17:50:54 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../domain/GetWalletNotificationsFactory.kt | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt index 5ac471112e..6909483f63 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetWalletNotificationsFactory.kt @@ -254,8 +254,6 @@ internal class GetWalletNotificationsFactory @Inject constructor( addCloreMigrationNotification(userWallet, flattenCurrencies, clickIntents) - addNoAccountWarning(cryptoCurrencyStatus = flattenCurrencies.firstOrNull()) - addIf( element = WalletNotificationUM.NumberOfSignedHashesIncorrect( onCloseClick = clickIntents::onCloseAlreadySignedHashesWarningClick, @@ -293,19 +291,6 @@ internal class GetWalletNotificationsFactory @Inject constructor( notification?.let(::add) } - private fun MutableList.addNoAccountWarning(cryptoCurrencyStatus: CryptoCurrencyStatus?) { - val noAccountStatus = cryptoCurrencyStatus?.value as? CryptoCurrencyStatus.NoAccount - if (noAccountStatus != null) { - add( - element = WalletNotificationUM.NoAccount( - network = cryptoCurrencyStatus.currency.name, - amount = noAccountStatus.amountToCreateAccount.toString(), - symbol = cryptoCurrencyStatus.currency.symbol, - ), - ) - } - } - private fun MutableList.addCloreMigrationNotification( userWallet: UserWallet, flattenCurrencies: List,