Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

skylarbarrera
Copy link
Contributor

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

@linear
Copy link

linear bot commented Feb 28, 2023

Comment on lines 21 to 22
console.log('triggered for: ', accountAsset?.symbol, accountAsset?.colors);
console.log(accountAsset);
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the comments

Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a 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 👍🏽

@skylarbarrera skylarbarrera merged commit 179a948 into develop Mar 1, 2023
@skylarbarrera skylarbarrera deleted the @skylar/use-colors-from-BE branch March 1, 2023 14:00
estrattonbailey added a commit that referenced this pull request Mar 1, 2023
…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)
estrattonbailey added a commit that referenced this pull request Mar 1, 2023
…-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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants