Updated on 2026-08-14
This commit is contained in:
parent
85a2344f62
commit
92523aa0da
2 changed files with 11 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue