Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix swaps button on asset overview page for multichain feature (#…
…12650) ## **Description** When user has "all Networks" selected; and he is on a network that does not support swaps but clicks on a network on a chain that supports swaps. He should be able to see the swaps button ## **Related issues** Fixes: #12546 (comment) ## **Manual testing steps** 1. Click on "All Networks" 2. Switch to a network where swaps is not supported (you can add Scroll or blast from chainlist) 3. Click on a token from ethereum network 4. You should be able to see swaps button ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> https://github.com/user-attachments/assets/af560641-c854-4288-b0cc-231ba450edd3 ## **Pre-merge author checklist** - [ ] 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). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] 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. ## **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.
- Loading branch information