Add token to user tokens list when editing native asset visibility if token is not in list #35149
Labels
bug
feature/web3/wallet
Integrating Ethereum+ wallet support
front-end-change
This task is a front end task and doesn't need any C++ changes
OS/Desktop
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Description
Currently, in the edit visible token modal, we always list a network's native token, even when the user does not have that token in their tokens list. This prevents the asset's visibility to be changed. We should add the token to the user's token list when attempting to modify the token's visibility, so that we can track the visibility modification.
Steps to Reproduce
Actual result:
Asset will still be visible
Expected result:
Asset should be hidden
Reproduces how often:
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: