[Desktop] Provide an in-browser-action UI way to detect when Crypto Wallets is not the selected web3 provider #11696
Labels
feature/ethereum-remote-client
OS/Desktop
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Description
We have a setting for selecting the web3 provider here:
brave://settings/extensions
However, we should also add an indication within our browser action button UI that tells the user when we're not the selected web3 provider.
This can be accomplished with an API which is currently already exposed to both Crypto Wallets and MetaMask:
chrome.braveWallet.getWeb3Provider
. It returns the extension ID that is the current provider in a callback as the first param.Steps to Reproduce
Actual result:
No indication that Crypto Wallets is not the current web3 provider for Dapps.
Expected result:
Some indication should be there so a user doesn't wonder why it isn't the web3 provider.
The text was updated successfully, but these errors were encountered: