Skip to content

Conversation

@lnbc1QWFyb24
Copy link
Contributor

Description

This PR adds a new filter initialization parameter for all hardware wallet modules which allows for selecting which platforms you would not like the hardware wallet be displayed to the user as a selectable option. This is useful as currently our account select UI for hardware wallets is not mobile optimized (most hardware wallets are not available on mobile devices). We plan on updating this UI in the near future, but in the meantime apps can filter HW out on mobile devices.

Closes #1231

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works
  • I have run yarn type-check & yarn build to confirm there are not any associated errors
  • This PR passes the Circle CI checks

Copy link
Contributor

@Adamj1232 Adamj1232 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I like that is scoped per wallet module!

@lnbc1QWFyb24 lnbc1QWFyb24 merged commit c0206f4 into v2-web3-onboard-develop Sep 2, 2022
@lnbc1QWFyb24 lnbc1QWFyb24 deleted the enhancement/hw-filtering branch September 2, 2022 01:17
This was referenced Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Trezor Wallet modal not displaying properly on mobile

3 participants