Updated on 2026-08-14

This commit is contained in:
Tangem 2024-12-09 14:01:08 +05:00
parent f4422dd3fb
commit 170774cde2
12 changed files with 123 additions and 23 deletions

View file

@ -227,6 +227,15 @@ sealed class NotificationUM(val config: NotificationConfig) {
wrappedList(cryptoAmount, fiatAmount),
),
)
data class OnrampErrorNotification(val onRefresh: () -> Unit) : Warning(
title = resourceReference(R.string.common_error),
subtitle = resourceReference(R.string.common_unknown_error),
buttonsState = NotificationConfig.ButtonsState.SecondaryButtonConfig(
text = resourceReference(R.string.warning_button_refresh),
onClick = onRefresh,
),
)
}
open class Info(