-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
chore: Cherry pick 75fa93a into 7.36.0 (confirmation redesign enabled) #12399
Conversation
Fix bug app crash after send / swap. Fixes: #12364 1. Go to Advance setting and turn STX on 2. Swap any pair of token or send money 3. Notice the app will crash https://github.com/user-attachments/assets/f5af649b-3e07-4066-9843-d1038301c430 - [X] I’ve followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [X] I've completed the PR template to the best of my ability - [X] I’ve included tests if applicable - [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [X] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
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. |
|
|
|
||
const isRedesignedEnabled = useMemo( | ||
() => | ||
approvalRequestType && | ||
process.env.REDESIGNED_SIGNATURE_REQUEST === 'true' && | ||
approvalRequestType === ApprovalTypes.PERSONAL_SIGN, | ||
[approvalRequestType], | ||
(approvalRequestType === ApprovalTypes.PERSONAL_SIGN || |
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.
Remove these changes
Description
Cherry-pick 75fa93a
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist