Updated on 2026-08-14

This commit is contained in:
Tangem 2025-02-03 19:29:53 +05:00
parent 93bf42f4a0
commit d66758f0c2
8 changed files with 33 additions and 17 deletions

View file

@ -213,6 +213,7 @@ internal class SendNotificationFactory(
addTransactionLimitErrorNotification(
utxoLimit = currencyCheck.utxoAmountLimit,
cryptoCurrency = currency,
feeValue = feeValue,
onReduceClick = clickIntents::onAmountReduceToClick,
)
addReserveAmountErrorNotification(

View file

@ -872,7 +872,7 @@ internal class SendViewModel @Inject constructor(
override fun onAmountReduceToClick(reduceAmountTo: BigDecimal, notification: Class<out NotificationUM>) {
uiState.value = amountStateFactory.getOnAmountReduceToState(reduceAmountTo)
uiState.value = sendNotificationFactory.dismissNotificationState(notification)
updateNotifications()
feeReload()
}
override fun onAmountReduceByClick(
@ -886,7 +886,7 @@ internal class SendViewModel @Inject constructor(
)
uiState.value = sendNotificationFactory.dismissNotificationState(notification)
updateNotifications()
feeReload()
}
override fun onNotificationCancel(clazz: Class<out NotificationUM>) {