Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-17 09:00:36 -07:00
parent 172efa81b2
commit 74b2b73f6d
2 changed files with 10 additions and 2 deletions

View file

@ -85,7 +85,15 @@ internal class TangemPayDetailsUMProvider : CollectionPreviewParameterProvider<T
onClickClose = {},
),
accountDeactivatedNotificationConfig = null,
errorNotificationConfig = null,
errorNotificationConfig = NotificationConfig(
title = stringReference("Your account has been closed"),
subtitle = stringReference("For questions about account, please contact support"),
iconResId = R.drawable.ic_alert_circle_24,
buttonsState = NotificationConfig.ButtonsState.SecondaryButtonConfig(
text = stringReference("Remove account"),
onClick = {},
),
),
),
TangemPayDetailsUM(
topBarConfig = TangemPayDetailsTopBarConfig(

View file

@ -277,7 +277,7 @@ private fun ErrorMessage(config: NotificationConfig, modifier: Modifier = Modifi
null
},
size = TangemButtonSize.X9,
type = TangemButtonType.Primary,
type = TangemButtonType.PrimaryInverse,
shape = TangemButtonShape.Rounded,
),
modifier = Modifier.weight(1f),