Image cleanup (#3160)

* Remove webp currency icons and switch all to SVG

* Remove more unused images

* Fix base icon

* Fix Polygon, Tron, Bitcoin Cash, and BNB flat icons

* Fix base icon

* Remove more unused icons

* Update icon urls

* Switch support icons to SVGs

* Replace more hero images

* Add back Haven logo temporarily and fix refund icon

* Fix

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
tuxsudo
2026-05-06 23:00:05 +02:00
committed by GitHub
co-authored by Omar Hatem
parent f0ef217210
commit 5feee62358
191 changed files with 1381 additions and 131 deletions
+6 -6
View File
@@ -21,18 +21,18 @@ String _getSvgPathForChain(String chainName) {
switch (name) {
case 'ethereum':
return 'assets/images/crypto/ethereum.webp';
return 'assets/new-ui/crypto_full_icons/ethereum.svg';
case 'polygon':
return 'assets/images/crypto/polygon.webp';
return 'assets/new-ui/crypto_full_icons/polygon.svg';
case 'arbitrum':
return 'assets/images/crypto/arbitrum.webp';
return 'assets/new-ui/crypto_full_icons/arbitrum.svg';
case 'base':
return 'assets/images/crypto/base_icon.webp';
return 'assets/new-ui/crypto_full_icons/base.svg';
case 'bnb':
case 'bsc':
return 'assets/images/crypto/BNB.webp';
return 'assets/new-ui/crypto_full_icons/bnb.svg';
default:
return 'assets/images/crypto/ethereum.webp';
return 'assets/new-ui/crypto_full_icons/ethereum.svg';
}
}