Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-14 15:45:21 +04:00
parent d52133d13e
commit 9943f33070
5 changed files with 18 additions and 1 deletions

View file

@ -108,6 +108,10 @@ internal class NotificationsModel @Inject constructor(
}
private suspend fun checkIfSubtractAvailable() {
if (!notificationData.isReduceAmountAvailable) {
isAmountSubtractAvailable = false
return
}
val feeCurrencyId = notificationData.feeCryptoCurrencyStatus.currency.id
val fee = notificationData.fee
isAmountSubtractAvailable = isAmountSubtractAvailableUseCase(