Updated on 2026-08-14
This commit is contained in:
parent
8094af242d
commit
b326b63a7c
4 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue