Updated on 2026-08-14
This commit is contained in:
parent
d52133d13e
commit
9943f33070
5 changed files with 18 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue