parentheses

This commit is contained in:
Robert Malikowski
2026-08-23 12:11:21 +02:00
parent 0260f3dc72
commit 08978a06ba
+1 -1
View File
@@ -172,7 +172,7 @@ abstract class BuySellViewModelBase extends WalletChangeListenerViewModel with S
}
Money? amountForQuote(Quote quote) => Money.trySafeParse(
(double.tryParse(fiatAmount) ?? 0 / quote.rate).toStringAsFixed(min(20, cryptoCurrency.decimals)),
((double.tryParse(fiatAmount) ?? 0) / quote.rate).toStringAsFixed(min(20, cryptoCurrency.decimals)),
cryptoCurrency);
Money? fiatAmountForQuote(Quote quote) {