You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should fallback to using the original token icon, and apply a dashed border (see design).
The "wrapped" token may not have an official token icon, so we should fallback to using the original token's icon.
Doing this will require:
A change in aragon-ui to add an icon prop to the TokenBadge, overriding the default icon
Applying an useImageExist() check with tokenIconUrl(wrappedToken.address), and if not available, using tokenIconUrl(outsideToken.address) as a fallback
Applying the dashed-border on the icon component passed into TokenBadge
The text was updated successfully, but these errors were encountered:
sohkai
changed the title
App: wrapped token icon should fallback to original token's icon and have dashed border
TokenWrapper: wrapped token icon should fallback to original token's icon and have dashed border
Dec 20, 2019
We should fallback to using the original token icon, and apply a dashed border (see design).
The "wrapped" token may not have an official token icon, so we should fallback to using the original token's icon.
Doing this will require:
icon
prop to theTokenBadge
, overriding the default iconuseImageExist()
check withtokenIconUrl(wrappedToken.address)
, and if not available, usingtokenIconUrl(outsideToken.address)
as a fallbackTokenBadge
The text was updated successfully, but these errors were encountered: