-
Notifications
You must be signed in to change notification settings - Fork 681
chore: use token colors from the BE #4674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/hooks/useColorForAsset.ts
Outdated
console.log('triggered for: ', accountAsset?.symbol, accountAsset?.colors); | ||
console.log(accountAsset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console, could swap in logger.debug
} else if (imageColor) { | ||
color2Return = imageColor; | ||
|
||
// we have special handling for eth color |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good on both light and dark mode, QA Passed 👍🏽
…atio-as-buy-button * origin/develop: Update OP rewards copy (#4680) feat: add isAuthenticated util (#4669) chore: use token colors from the BE (#4674) bundle: optimize images (#4678) fix uuid (#4675) fix if statement if nonce = 0 (#4668) bump to 1.8.13 (#4670) [WCv2] fix: wallet/network spacing (#4655)
…-qa-bugs * origin/develop: Update OP rewards copy (#4680) feat: add isAuthenticated util (#4669) chore: use token colors from the BE (#4674) bundle: optimize images (#4678) fix uuid (#4675) fix if statement if nonce = 0 (#4668) bump to 1.8.13 (#4670) [WCv2] fix: wallet/network spacing (#4655) pooly (#4664) APP-464 android only tapping on buy ethereum (#4661) fix: provider card button (#4659) Move SettingsSheet to its own directory in screens (#4650) Add logic to log user out properly when trying to restore backups while having no wallets (#4653) Remove unused codepath for L2 chain assets check in SendSheet (#4652) turn on l2 txs (#4660) Optimize usePersistentDominantColorFromImage hook (#4644) ledger: import flow (#4583)
Fixes APP-271
What changed (plus any additional context for devs)
we not take advantage of the BE doing some hard compute for us, can still be improved but this is a first pass to unblock BSC.
Screen recordings / screenshots
https://cloud.skylarbarrera.com/Screen-Recording-2023-02-27-17-28-20.mp4
What to test
token colors