Changing wallet services displayed in modal
Hello, Iām currently running the old boilerplate. What I find interesting is how in main/frontend/Providers.tsx (code snippet bellow) the qrcodeModalOptions are set to a certain array of wallets, but then the app proceeds to show every single wallet.
const walletConnectOptions: WalletConnectProviderProps = {
storageOptions: {
// @ts-ignore
asyncStorage: AsyncStorage,
},
qrcodeModalOptions: {
mobileLinks: [
'rainbow',
'metamask',
'argent',
'trust',
'imtoken',
'pillar',
],
},
// Uncomment to show a QR-code to connect a wallet
//renderQrcodeModal: Qrcode,
};
Is this behaviour also present in the new version or does it work the same way? If so, how could one achieve actually only displaying certain wallets to pick from in the modal? What comes to mind would just be filtering the walletServices in main/frontend/WalletConnect/providers/WalletConnectProvider.tsx or in general just filtering them in any of the files. This does seem like a simple solution to me but is there an actual good correct way of doing this?
Thank you in advance!