Updated on 2026-08-14

This commit is contained in:
Tangem 2024-04-12 19:48:36 +05:00
parent 83e6ed6171
commit fad7c0043d
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ internal fun checkFeeCoverage(state: SendUiState, cryptoCurrencyStatus: CryptoCu
val balance = cryptoCurrencyStatus.value.amount ?: return false
val fee = state.feeState?.fee?.amount?.value ?: return false
val amount = state.amountState?.amountTextField?.cryptoAmount?.value ?: return false
return balance < amount + fee
return balance < amount + fee && balance > fee
}
/**