metamask-mobile
metamask-mobile copied to clipboard
Add transaction simulations preference
Description
This PR goal is to add upcoming transaction simulations toggle to security preferences.
Related issues
Fixes: https://github.com/MetaMask/mobile-planning/issues/1720
Manual testing steps
- Security settings, toggle off "Estimated balance changes"
- Close app
- Open app and see if it still toggled off (also validate opposite to make sure
PreferencesControllerupdates accordingly)
Screenshots/Recordings
https://github.com/MetaMask/metamask-mobile/assets/7644512/cc197830-3874-475c-95d4-a9d79884f7f7
Pre-merge author checklist
- [X] I’ve followed MetaMask Coding Standards.
- [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 format if applicable
- [X] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
- [ ] 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.