Show fiat amount for tokens on swipe confirmation sheet (#2670)

* fix: fiat amount not showing for tokens on the swipe to send confirmation sheet

* fix: fiat amount not showing for tokens on the swipe to send confirmation sheet
This commit is contained in:
malik1004x
2025-11-22 19:31:58 +01:00
committed by GitHub
parent 1b354c70d2
commit 66a8e895af
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -191,7 +191,8 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
try {
final fiat = calculateFiatAmount(
price: _fiatConversationStore.prices[selectedCryptoCurrency]!,
price: _fiatConversationStore.prices[_fiatConversationStore.prices.keys
.firstWhere((k) => k.titleAndTagEqual(selectedCryptoCurrency))],
cryptoAmount: pendingTransaction!.amountFormatted);
return fiat;
} catch (_) {