Fix QR scheme to compare with currency full name not the abbreviated one

This commit is contained in:
OmarHatem 2023-01-25 15:29:59 +02:00
parent 33337f42d0
commit ddd5b1ecb3

View file

@ -180,7 +180,8 @@ abstract class SendViewModelBase with Store {
WalletType get walletType => _wallet.type;
String? get walletCurrencyName => _wallet.currency.name?.toLowerCase();
String? get walletCurrencyName =>
_wallet.currency.fullName?.toLowerCase() ?? _wallet.currency.name;
bool get hasCurrecyChanger => walletType == WalletType.haven;