-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix: catch unfulfilled promise for token fetch #8415
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f754ce7b-d569-4495-b40f-3ce23625c850 Regression: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/1884c885-3fb3-4396-9024-559337945b17 |
Android and iOS simulator... |
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.
LGTM
Description
When a token's price is unavailable, the list of token prices becomes unavailable. On pull to refresh this was resulting with a hung spinner due to an uncaught promise rejection.
This PR adds a catch to the promise to resolve the hanging spinner.
Related issues
Related: #1518
Manual testing steps
Screenshots/Recordings
Before
Simulator.Screen.Recording.-.iPhone.13.Pro.-.2024-01-26.at.15.32.29.mp4
After
Simulator.Screen.Recording.-.iPhone.13.Pro.-.2024-01-26.at.15.29.53.mp4
Pre-merge author checklist
Pre-merge reviewer checklist