From 8bf8c83f0e7e88c4dc3a7496b1f2447cf1ff6e74 Mon Sep 17 00:00:00 2001 From: David Adegoke <64401859+Blazebrain@users.noreply.github.com> Date: Thu, 31 Jul 2025 17:48:16 +0100 Subject: [PATCH] fix: Sell action symbol swap (#2422) Co-authored-by: Omar Hatem --- lib/buy/buy_quote.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/buy/buy_quote.dart b/lib/buy/buy_quote.dart index c007d681b..42616659a 100644 --- a/lib/buy/buy_quote.dart +++ b/lib/buy/buy_quote.dart @@ -97,7 +97,7 @@ class Quote extends SelectableOption { @override String get topLeftSubTitle => - this.rate > 0 ? '1 $cryptoName = ${formatWithCommas(rate.toStringAsFixed(2))} $fiatName' : ''; + this.rate > 0 ? '1 ${cryptoCurrency.toString()} = ${formatWithCommas(rate.toStringAsFixed(2))} ${fiatCurrency.toString()}' : ''; @override String get bottomLeftSubTitle { @@ -109,10 +109,6 @@ class Quote extends SelectableOption { return ''; } - String get fiatName => isBuyAction ? fiatCurrency.toString() : cryptoCurrency.toString(); - - String get cryptoName => isBuyAction ? cryptoCurrency.toString() : fiatCurrency.toString(); - @override String? get topRightSubTitle => '';