Skip to content

Commit

Permalink
Merge pull request #11999 from rastajpa/ref/default-token-icon
Browse files Browse the repository at this point in the history
[REF]: New default ERC-20 token icon
  • Loading branch information
JohnathanWhite authored Jan 14, 2022
2 parents 137972c + 3ed5164 commit 11cb4f1
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 11cb4f1

Please sign in to comment.