Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix bug first NFT in collection gets always displayed (#8141)
## **Description** In the NFTs list, when tapping an image - if it’s not the first in the list, it will display the information for the first in the list. ## **Related issues** Fixes: [#7699](#7699) ## **Manual testing steps** 1. Go to NFTs tab 2. Choose a collection who contains more than one NFT 3. Click on the second one , the informations of the first one will be displayed ## **Screenshots/Recordings** ### **Before** https://github.com/MetaMask/metamask-mobile/assets/26223211/593647d2-e96f-4ed5-a349-fcb3ae99a74b ### **After** https://github.com/MetaMask/metamask-mobile/assets/26223211/121f53ae-117e-445e-9cd7-5543b25ae611 ## **Pre-merge author checklist** - [x] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've clearly explained what problem this PR is solving and how it is solved. - [x] I've linked related issues - [x] I've included manual testing steps - [x] I've included screenshots/recordings if applicable - [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. - [x] I’ve properly set the pull request status: - [ ] In case it's not yet "ready for review", I've set it to "draft". - [x] In case it's "ready for review", I've changed it from "draft" to "non-draft". ## **Pre-merge reviewer checklist** - [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [x] 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. Co-authored-by: Cal Leung <[email protected]>
- Loading branch information