Skip to content

bugfix/dont remove collectibles during auto detection#439

Merged
estebanmino merged 2 commits intodevelopfrom
bugfix/dont-remove-collectibles
Apr 15, 2021
Merged

bugfix/dont remove collectibles during auto detection#439
estebanmino merged 2 commits intodevelopfrom
bugfix/dont-remove-collectibles

Conversation

@estebanmino
Copy link
Copy Markdown
Contributor

@estebanmino estebanmino commented Apr 9, 2021

For some old reason we were deleting collectibles that weren't being detected in the 3rd party API, causing manually added collectibles to be removed every time this method was called.

Fixes MetaMask/metamask-mobile#2465

@estebanmino estebanmino requested a review from a team as a code owner April 9, 2021 14:24
@estebanmino estebanmino changed the title bugfix/dont remove collectibles bugfix/dont remove collectibles during auto detection Apr 9, 2021
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the intent here was to automatically remove any collectibles that we added that the user no longer has. e.g. anything that OpenSea is aware of I guess 🤔

It would be nice if we could preserve that behaviour while still preventing this from removing custom collectibles. I'm not sure of an easy way to do that though.

Not going to block on that though, this seems like a definite improvement over deleting custom collectibles.

@estebanmino estebanmino merged commit 3d23006 into develop Apr 15, 2021
@estebanmino estebanmino deleted the bugfix/dont-remove-collectibles branch April 15, 2021 16:54
Gudahtt added a commit that referenced this pull request Apr 15, 2021
- Add restricted controller messenger ([#378](#378))

- **BREAKING:** Update minimum Node.js version to v12 ([#441](#441))
- **BREAKING:** Replace controller context ([#387](#387))
- Bump @metamask/contract-metadata from 1.23.0 to 1.24.0 ([#440](#440))
- Update lint rules ([#442](#442), [#426](#426))

- Don't remove collectibles during auto detection ([#439](#439))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom collectibles/NFTs disappear after relaunching the app

2 participants