Updated on 2026-08-14
This commit is contained in:
parent
4cb96d8a2b
commit
560b78cb43
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ internal class TokenDetailsSwapTransactionsStateConverter(
|
|||
val toAmount = transaction.toCryptoAmount
|
||||
val fromAmount = transaction.fromCryptoAmount
|
||||
val toFiatAmount = quotes.firstOrNull {
|
||||
it.rawCurrencyId == swapCurrency.fromCryptoCurrency.id.rawCurrencyId
|
||||
it.rawCurrencyId == swapCurrency.toCryptoCurrency.id.rawCurrencyId
|
||||
}?.fiatRate?.multiply(toAmount)
|
||||
val fromFiatAmount = quotes.firstOrNull {
|
||||
it.rawCurrencyId == swapCurrency.fromCryptoCurrency.id.rawCurrencyId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue