mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix: Sell action symbol swap (#2422)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
co-authored by
Omar Hatem
parent
a41c23952f
commit
8bf8c83f0e
@@ -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 => '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user