diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/components/WalletNotification.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/components/WalletNotification.kt index 2bdd84b9e3..331ccc1502 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/components/WalletNotification.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/components/WalletNotification.kt @@ -35,14 +35,6 @@ sealed class WalletNotification(val config: NotificationConfig) { title = resourceReference(id = R.string.warning_failed_to_verify_card_title), subtitle = resourceReference(id = R.string.warning_failed_to_verify_card_message), ) - - data class LowSignatures(val count: Int) : Critical( - title = resourceReference(id = R.string.warning_low_signatures_title), - subtitle = resourceReference( - id = R.string.warning_low_signatures_message, - formatArgs = wrappedList(count), - ), - ) } sealed class Warning( @@ -91,6 +83,14 @@ sealed class WalletNotification(val config: NotificationConfig) { title = resourceReference(id = R.string.warning_testnet_card_title), subtitle = resourceReference(id = R.string.warning_testnet_card_message), ) + + data class LowSignatures(val count: Int) : Warning( + title = resourceReference(id = R.string.warning_low_signatures_title), + subtitle = resourceReference( + id = R.string.warning_low_signatures_message, + formatArgs = wrappedList(count), + ), + ) } sealed class Informational( diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/viewmodels/WalletNotificationsListFactory.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/viewmodels/WalletNotificationsListFactory.kt index 6e78a23669..dc6fce13fd 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/viewmodels/WalletNotificationsListFactory.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/viewmodels/WalletNotificationsListFactory.kt @@ -77,7 +77,7 @@ internal class WalletNotificationsListFactory( cardTypesResolver.getRemainingSignatures()?.let { remainingSignatures -> addIf( - element = WalletNotification.Critical.LowSignatures(count = remainingSignatures), + element = WalletNotification.Warning.LowSignatures(count = remainingSignatures), condition = remainingSignatures <= MAX_REMAINING_SIGNATURES_COUNT, ) }