anza-xyz / wallet-adapter

Modular TypeScript wallet adapters and components for Solana applications.
https://anza-xyz.github.io/wallet-adapter/
Apache License 2.0
1.46k stars 911 forks source link

XDEFI Wallet Adapter: Update XDEFIWalletName #931

Closed maxlm-devico closed 3 months ago

maxlm-devico commented 4 months ago

Match name in adapter to XDEFI Wallet extension name. This fixes issue when XDEFI wallet listed twice in connect wallet modal

image
jordaaash commented 3 months ago

We intentionally avoid superfluous "Wallet" suffixes from adapter names since they need to be short and this becomes repetitive when displayed in a list of wallets.

maxlm-devico commented 3 months ago

We intentionally avoid superfluous "Wallet" suffixes from adapter names since they need to be short and this becomes repetitive when displayed in a list of wallets.

It must match to the wallet name it detects or it will create a dupe which becomes really repetitive. Wallet name in adapter must come with "Wallet" suffix in order to match extension name and avoid dupe in list as provided on screenshot