Commit 50c7d361 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

replace trustwallet assets repo w/ our fork (#1922)

parent 8a7f1d51
...@@ -7,7 +7,7 @@ import { WrappedTokenInfo } from '../../state/lists/wrappedTokenInfo' ...@@ -7,7 +7,7 @@ import { WrappedTokenInfo } from '../../state/lists/wrappedTokenInfo'
import Logo from '../Logo' import Logo from '../Logo'
export const getTokenLogoURL = (address: string) => export const getTokenLogoURL = (address: string) =>
`https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/${address}/logo.png` `https://raw.githubusercontent.com/uniswap/assets/master/blockchains/ethereum/assets/${address}/logo.png`
const StyledEthereumLogo = styled.img<{ size: string }>` const StyledEthereumLogo = styled.img<{ size: string }>`
width: ${({ size }) => size}; width: ${({ size }) => size};
......
...@@ -10,7 +10,7 @@ async function getColorFromToken(token: Token): Promise<string | null> { ...@@ -10,7 +10,7 @@ async function getColorFromToken(token: Token): Promise<string | null> {
return Promise.resolve('#FAAB14') return Promise.resolve('#FAAB14')
} }
const path = `https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/${token.address}/logo.png` const path = `https://raw.githubusercontent.com/uniswap/assets/master/blockchains/ethereum/assets/${token.address}/logo.png`
return Vibrant.from(path) return Vibrant.from(path)
.getPalette() .getPalette()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment