wallet-adapter
wallet-adapter copied to clipboard
Allow Disconnect of MWA
Currently, if other wallets are available on a dApp on Android, the only one that can be used is the MWA. This PR updates the WalletProvider
so that it won't be auto-selected and can be disconnected if other wallets are available.
Comments posted at https://github.com/alex-fung/wallet-adapter/pull/1 are already addressed (opened against wrong branch)
Before: https://github.com/anza-xyz/wallet-adapter/assets/2409008/19a522f9-d8f1-4ad9-8374-03ac8ca35de8
After: With MWA and another wallet: https://github.com/anza-xyz/wallet-adapter/assets/2409008/36dca9c4-b585-4017-a84a-0fadeb8c10eb With just MWA: https://github.com/anza-xyz/wallet-adapter/assets/2409008/da684467-2791-428d-8783-3a9c5485542c