Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-18 14:53:01 +04:00
parent 85a2344f62
commit 92523aa0da
2 changed files with 11 additions and 3 deletions

View file

@ -108,6 +108,13 @@ object NotificationsFactory {
}
}
// Must be called last shown only when no other notifications exist
fun MutableList<NotificationUM>.addHighFeeNotificationIfNoOther(shouldShowHighFeeNotification: Boolean) {
if (shouldShowHighFeeNotification && this.isEmpty()) {
add(NotificationUM.Info.YieldSupplyHighNetworkFee)
}
}
fun MutableList<NotificationUM>.addReserveAmountErrorNotification(
reserveAmount: BigDecimal?,
sendingAmount: BigDecimal,