-
-
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: App crashes when deleting browser favorites on android devices #10598
fix: App crashes when deleting browser favorites on android devices #10598
Conversation
… doesn't crash due to an unhandled promise
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. |
Bitrise❌❌❌ Commit hash: ccf3552 Note
|
…favorites-on-android-devices
…favorites-on-android-devices
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
Quality Gate passedIssues Measures |
Bitrise✅✅✅ Commit hash: 2201211 Note
|
Description
Added a resolve() to the
metamask_removeFavorite
function to stop Hermes from crashing when trying to handle the Promise.Hermes would crash when trying to handle the Promise of the
Alert
method. Adding aresolve()
fixes this issue and stops the app from crashing.Related issues
Fixes: #10583
Manual testing steps
Screenshots/Recordings
Before
357208383-a1358227-d735-4136-8b80-c7c837cef5d4.mov
After
Pre-merge author checklist
Pre-merge reviewer checklist