CW-647-Birdpay-Trc20 (#1469)

* fix: Desktop resize bug

* fix: Birdpay working for trc20 and adjust transaction fee currency

* fix: Filter logic

* fix: Solana token balance not fully displaying

* fix: Minor enhancements
This commit is contained in:
Adegoke David 2024-05-28 14:32:36 +01:00 committed by GitHub
parent 058522caf1
commit 24f6541fa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 5 deletions

View file

@ -253,7 +253,7 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
static CryptoCurrency fromString(String name, {CryptoCurrency? walletCurrency}) {
try {
return CryptoCurrency.all.firstWhere((element) =>
element.title.toLowerCase() == name &&
element.title.toLowerCase() == name.toLowerCase() &&
(element.tag == null ||
element.tag == walletCurrency?.title ||
element.tag == walletCurrency?.tag));