diff --git a/public/coins/EDG-100x100.png b/public/coins/EDG-100x100.png new file mode 100644 index 00000000..80a5cb30 Binary files /dev/null and b/public/coins/EDG-100x100.png differ diff --git a/public/coins/HNY-100x100.png b/public/coins/HNY-100x100.png new file mode 100644 index 00000000..974b64b4 Binary files /dev/null and b/public/coins/HNY-100x100.png differ diff --git a/src/app/utils.ts b/src/app/utils.ts index b51525c3..33ee7f67 100644 --- a/src/app/utils.ts +++ b/src/app/utils.ts @@ -314,7 +314,17 @@ export function numberOrEmptyInput(event: string) { export function updateIconIfNeeded(token: adex.TokenInfo): TokenInfo { const iconUrl = token.symbol === "DEXTR" - ? "https://assets.coingecko.com/coins/images/34946/standard/DEXTRLogo.jpg" + ? // use asset from coingecko to prevent ipfs failure + "https://assets.coingecko.com/coins/images/34946/standard/DEXTRLogo.jpg" + : token.symbol === "RDK" + ? // fix wrong icon URL in metadata ofRDK on ledger, see https://t.me/radix_dlt/716425 + "https://radket.shop/img/logo.svg" + : token.symbol === "EDG" + ? // use smaller version to save bandwidth + "coins/EDG-100x100.png" + : token.symbol === "HNY" + ? // use smaller version to save bandwidth + "coins/HNY-100x100.png" : token.iconUrl; return {