fix: Sell action symbol swap (#2422)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
David Adegoke committed
Jul 31, 2025 at 17:48 UTC
8bf8c83f0e7e88c4dc3a7496b1f2447cf1ff6e74
1 file changed
+1
-5
lib/buy/buy_quote.dart
+1
-5
@@ -97,7 +97,7 @@ class Quote extends SelectableOption {
97
98
@override
99
String get topLeftSubTitle =>
100
- this.rate > 0 ? '1 $cryptoName = ${formatWithCommas(rate.toStringAsFixed(2))} $fiatName' : '';
100
+ this.rate > 0 ? '1 ${cryptoCurrency.toString()} = ${formatWithCommas(rate.toStringAsFixed(2))} ${fiatCurrency.toString()}' : '';
101
102
@override
103
String get bottomLeftSubTitle {
@@ -109,10 +109,6 @@ class Quote extends SelectableOption {
109
return '';
110
}
111
112
- String get fiatName => isBuyAction ? fiatCurrency.toString() : cryptoCurrency.toString();
113
-
114
- String get cryptoName => isBuyAction ? cryptoCurrency.toString() : fiatCurrency.toString();
115
-
112
@override
113
String? get topRightSubTitle => '';
114