replace trustwallet assets repo w/ our fork (#1922)
This commit is contained in:
parent
8a7f1d51ce
commit
50c7d36164
@ -7,7 +7,7 @@ import { WrappedTokenInfo } from '../../state/lists/wrappedTokenInfo'
|
||||
import Logo from '../Logo'
|
||||
|
||||
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 }>`
|
||||
width: ${({ size }) => size};
|
||||
|
@ -10,7 +10,7 @@ async function getColorFromToken(token: Token): Promise<string | null> {
|
||||
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)
|
||||
.getPalette()
|
||||
|
Loading…
Reference in New Issue
Block a user