fix: Sell action symbol swap (#2422)

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
David Adegoke
2025-07-31 19:48:16 +03:00
committed by GitHub
co-authored by Omar Hatem
parent a41c23952f
commit 8bf8c83f0e
+1 -5
View File
@@ -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 => '';