diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt index 1f5af19c6b..ee7cd5188e 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/domain/GetMultiWalletWarningsFactory.kt @@ -178,7 +178,7 @@ internal class GetMultiWalletWarningsFactory @Inject constructor( is PaymentAccountStatusValue.Error.NotSynced -> WalletNotification.Warning.TangemPayRefreshNeeded( buttonText = when (userWallet) { is UserWallet.Cold -> resourceReference(id = R.string.home_button_scan) - is UserWallet.Hot -> resourceReference(id = R.string.tangempay_sync_needed_restore_access) + is UserWallet.Hot -> resourceReference(id = R.string.tangempay_sync_needed_button) }, onRefreshClick = { walletClickIntents.onRefreshPayToken(userWallet) }, shouldShowProgress = false, 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 6819e15164..4634513e11 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 @@ -251,7 +251,7 @@ internal class GetWalletNotificationsFactory @Inject constructor( is PaymentAccountStatusValue.Error.NotSynced -> WalletNotificationUM.TangemPayRefreshNeeded( buttonText = when (userWallet) { is UserWallet.Cold -> resourceReference(id = R.string.home_button_scan) - is UserWallet.Hot -> resourceReference(id = R.string.tangempay_sync_needed_restore_access) + is UserWallet.Hot -> resourceReference(id = R.string.tangempay_sync_needed_button) }, onRefreshClick = { walletClickIntents.onRefreshPayToken(userWallet) }, shouldShowProgress = false, diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotification.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotification.kt index de07e7a7f6..131397808d 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotification.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotification.kt @@ -126,8 +126,8 @@ sealed class WalletNotification(val config: NotificationConfig) { private val buttonText: TextReference, private val shouldShowProgress: Boolean, ) : Warning( - title = resourceReference(id = R.string.tangempay_payment_account_sync_needed), - subtitle = resourceReference(id = R.string.tangempay_use_tangem_device_to_restore_payment_account), + title = resourceReference(id = R.string.tangempay_sync_needed_title), + subtitle = resourceReference(id = R.string.tangempay_sync_needed_body), buttonsState = ButtonsState.PrimaryButtonConfig( text = buttonText, iconResId = R.drawable.ic_tangem_24, diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotificationUM.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotificationUM.kt index f9e4fd87d8..bfd4e2b0ba 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotificationUM.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletNotificationUM.kt @@ -309,8 +309,8 @@ internal sealed class WalletNotificationUM(val messageUM: TangemMessageUM, val t ) : WalletNotificationUM( messageUM = TangemMessageUM( id = "TangemPayRefreshNeeded", - title = resourceReference(id = R.string.tangempay_payment_account_sync_needed), - subtitle = resourceReference(id = R.string.tangempay_use_tangem_device_to_restore_payment_account), + title = resourceReference(id = R.string.tangempay_sync_needed_title), + subtitle = resourceReference(id = R.string.tangempay_sync_needed_body), buttonsUM = persistentListOf( TangemMessageButtonUM( text = buttonText,