Fix QR scheme to compare with currency full name not the abbreviated one
OmarHatem committed
Jan 25, 2023 at 15:29 UTC
ddd5b1ecb3637bf12993198a97723ec9a215ce61
1 file changed
+2
-1
lib/view_model/send/send_view_model.dart
+2
-1
@@ -180,7 +180,8 @@ abstract class SendViewModelBase with Store {
180
181
WalletType get walletType => _wallet.type;
182
183
- String? get walletCurrencyName => _wallet.currency.name?.toLowerCase();
183
+ String? get walletCurrencyName =>
184
+ _wallet.currency.fullName?.toLowerCase() ?? _wallet.currency.name;
185
186
bool get hasCurrecyChanger => walletType == WalletType.haven;
187