mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-27 06:18:50 +01:00
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:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user