antonnell / networklist-org

Home Page:networklist-org.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding mobile wallet-friendly wording

p0s opened this issue · comments

We will use https://chainlist.org/ in our https://token.im/ mobile wallet's dapp browser. Users will be able to use it (as one option) to switch between networks.

Now, when I open chainlist.org in my imToken dapp browser it shows the Metamask logo and says 'Add to Metamask'.

For easier understanding, I'd like to have the site detect the dapp browser (i.e. in this case imtoken) and show imToken logo as well as 'Add to imToken' in the relevant case.

Detecting via https://docs.token.im/dapp-sdk/en/#detect-imtoken (is also possible for other mobile wallets)

@andrecronje can we add this feature? we'd add the PR ourselves. just want to ask upfront.

Hey @p0s

Yes you can make that change. I like it!

Closing as it's solved in #2