Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-13 14:26:43 +05:00
parent 2ad2edd6c8
commit dd11f56a38
5 changed files with 71 additions and 46 deletions

View file

@ -79,13 +79,13 @@ sealed class WalletNotification(val config: NotificationConfig) {
)
object NetworksUnreachable : Warning(
title = resourceReference(id = R.string.wallet_balance_blockchain_unreachable),
subtitle = resourceReference(id = R.string.warning_subtitle_network_unreachable),
title = resourceReference(id = R.string.warning_network_unreachable_title),
subtitle = resourceReference(id = R.string.warning_network_unreachable_message),
)
object SomeNetworksUnreachable : Warning(
title = resourceReference(id = R.string.warning_title_some_networks_unreachable),
subtitle = resourceReference(id = R.string.warning_subtitle_some_networks_unreachable),
title = resourceReference(id = R.string.warning_some_networks_unreachable_title),
subtitle = resourceReference(id = R.string.warning_some_networks_unreachable_message),
)
data class TopUpNote(val errorMessage: String) : Warning(
@ -137,7 +137,7 @@ sealed class WalletNotification(val config: NotificationConfig) {
val onCloseClick: () -> Unit,
) : WalletNotification(
config = NotificationConfig(
title = resourceReference(id = R.string.warning_rate_app_title_new),
title = resourceReference(id = R.string.warning_rate_app_title),
subtitle = resourceReference(id = R.string.warning_rate_app_message),
iconResId = R.drawable.ic_star_24,
buttonsState = NotificationConfig.ButtonsState.PairButtonsConfig(