-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat: Add icon overlay with one Eth asset on Arbitrum or Optimism #5175
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5175 +/- ##
=======================================
Coverage 85.76% 85.77%
=======================================
Files 744 744
Lines 30320 30324 +4
Branches 5237 5237
=======================================
+ Hits 26005 26011 +6
+ Misses 4076 4074 -2
Partials 239 239
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
ios/.xcode.env
Outdated
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.
I don't think there's harm in committing this file: ios/.xcode.env, but it would be good to check with others.
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.
Oh I can remove that if it is not standard to add to this file
1 build increased size
Celo (test) 1.81.0 (146)
|
Item | Install Size Change |
---|---|
📝 splashBackground@3x.jpg | ⬆️ 600.2 kB |
📝 background@3x.jpg | ⬆️ 368.6 kB |
📝 boost-rewards@3x.png | ⬆️ 188.4 kB |
📝 background@2x.jpg | ⬆️ 176.1 kB |
📝 boost-rewards@2x.png | ⬆️ 90.1 kB |
🛸 Powered by Emerge Tools
4c5ee08
to
6af2948
Compare
tokenBalances: { | ||
[mockEthTokenId]: { | ||
...mockTokenBalances[mockEthTokenId], | ||
balance: '0.508480716806023', |
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.
nit: these balances could all just be '1' for readability.
…lora-inc#5175) ### Description Currently, when a user has one balance of Eth, users cannot tell the difference between on different networks (Ethereum, Arbitrum, Optimism). This change add an network icon over the token icon for Eth when held on either Arb or Op. ### Test plan Tests for presence of TokenIcon and presence / absence of NetworkIcon depending on network, and passes all tests. ### Related issues - Fixes ACT-1086 ### Backwards compatibility Passes all previous tests ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will continue to work without code changes but will require additional testing for new changes
Description
Currently, when a user has one balance of Eth, users cannot tell the difference between on different networks (Ethereum, Arbitrum, Optimism). This change add an network icon over the token icon for Eth when held on either Arb or Op.
Test plan
Tests for presence of TokenIcon and presence / absence of NetworkIcon depending on network, and passes all tests.
Related issues
Backwards compatibility
Passes all previous tests
Network scalability
If a new NetworkId and/or Network are added in the future, the changes in this PR will continue to work without code changes but will require additional testing for new changes