Browse Source

Wallet: update icons

pull/18/head
Sun 4 years ago
parent
commit
1ab6dbab35
  1. BIN
      assets/logo/logo_erc20.png
  2. BIN
      assets/logo/logo_nft.png
  3. BIN
      assets/logo/logo_tether.png
  4. BIN
      assets/logo/logo_tether.pnga
  5. 4
      lib/apps/wallet/models.dart
  6. 1
      pubspec.yaml

BIN
assets/logo/logo_erc20.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
assets/logo/logo_nft.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/logo/logo_tether.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/logo/logo_tether.pnga

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

4
lib/apps/wallet/models.dart

@ -282,8 +282,10 @@ class Token { @@ -282,8 +282,10 @@ class Token {
case 'USDT':
return 'assets/logo/logo_tether.png';
default:
if (chain.isEth()) {
if (chain == ChainToken.ERC20) {
return 'assets/logo/logo_erc20.png';
} else if (chain == ChainToken.ERC721) {
return 'assets/logo/logo_nft.png';
} else {
return 'assets/logo/logo_btc.png';
}

1
pubspec.yaml

@ -85,6 +85,7 @@ flutter: @@ -85,6 +85,7 @@ flutter:
- assets/logo/logo_eth.png
- assets/logo/logo_tether.png
- assets/logo/logo_erc20.png
- assets/logo/logo_nft.png
- assets/logo/logo_btc.png
- assets/images/background_light.jpg
- assets/images/background_dark.jpg

Loading…
Cancel
Save