Updated on 2026-08-14
This commit is contained in:
parent
7d870833db
commit
b8a3a6899f
9 changed files with 20 additions and 14 deletions
|
|
@ -96,7 +96,12 @@ internal class SendNotificationFactory(
|
|||
|
||||
val recipientAddress = state.recipientState?.addressTextField?.value
|
||||
val statusValue = cryptoCurrencyStatus.value as? CryptoCurrencyStatus.Loaded
|
||||
val balanceAfterTransaction = statusValue?.let { it.amount - sendingAmount - feeValue }
|
||||
val feeToSubtract = if (isSubtractAvailableProvider()) {
|
||||
feeValue
|
||||
} else {
|
||||
BigDecimal.ZERO
|
||||
}
|
||||
val balanceAfterTransaction = statusValue?.let { it.amount - sendingAmount - feeToSubtract }
|
||||
val currencyCheck = getCurrencyCheckUseCase(
|
||||
userWalletId = userWalletId,
|
||||
currencyStatus = cryptoCurrencyStatus,
|
||||
|
|
|
|||
|
|
@ -1992,7 +1992,7 @@ internal class SwapInteractorImpl @AssistedInject constructor(
|
|||
private suspend fun getFeePaidCurrency(currency: CryptoCurrency): FeePaidCurrency {
|
||||
return currenciesRepository.getFeePaidCurrency(
|
||||
userWalletId = userWalletId,
|
||||
currency = currency,
|
||||
network = currency.network,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue