Skip to content

Commit

Permalink
New default ERC-20 token icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rastajpa committed Jan 14, 2022
1 parent 137972c commit 3ed5164
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/assets/img/default-erc20.svg

This file was deleted.

4 changes: 4 additions & 0 deletions src/assets/img/default-token.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/providers/currency/currency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ export class CurrencyProvider {
}

getLogoURI(coin: string): string {
return this.coinOpts[coin].logoURI || 'assets/img/default-erc20.svg';
return this.coinOpts[coin].logoURI || 'assets/img/default-token.svg';
}

defaultLogoURI(img) {
img.onerror = null;
img.src = 'assets/img/default-erc20.svg';
img.src = 'assets/img/default-token.svg';
}

isUtxoCoin(coin: string): boolean {
Expand Down

0 comments on commit 3ed5164

Please sign in to comment.