Updated on 2026-08-14

This commit is contained in:
Tangem 2024-04-27 14:59:00 +05:00
parent 4098d61678
commit 754a599f9f

View file

@ -734,14 +734,12 @@ internal class SendViewModel @Inject constructor(
val recipientState = uiState.getRecipientState(isFromConfirmation) ?: return null
val amount = amountState.amountTextField.cryptoAmount.value ?: return null
return feeCryptoCurrencyStatus?.let { feeCurrencyStatus ->
getFeeUseCase.invoke(
amount = amount,
destination = recipientState.addressTextField.value,
userWallet = userWallet,
cryptoCurrency = feeCurrencyStatus.currency,
)
}
return getFeeUseCase.invoke(
amount = amount,
destination = recipientState.addressTextField.value,
userWallet = userWallet,
cryptoCurrency = cryptoCurrencyStatus.currency,
)
}
// endregion