User token swap improvements (#2470)

* Handle null currency in trade

* Improve trade network handling and error reporting

* update Polygon network tag

* Update exchange_trade_view_model.dart

* handle nullable network fields

* Update lib/exchange/provider/letsexchange_exchange_provider.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
Serhii
2025-08-21 21:14:15 +03:00
committed by GitHub
co-authored by Omar Hatem
parent 13a74133f5
commit 9292fb5487
15 changed files with 136 additions and 48 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class PolygonWallet extends EVMChainWallet {
contractAddress: token.contractAddress,
decimal: token.decimal,
enabled: token.enabled,
tag: token.tag ?? "MATIC",
tag: token.tag ?? 'POL',
iconPath: iconPath,
isPotentialScam: token.isPotentialScam,
);