mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Enable Ledger hardware wallet support on Firefox
Firefox 67 support U2F by default
This commit is contained in:
parent
d2d6b547b6
commit
c7266067ce
@ -51,12 +51,6 @@ class ConnectHardwareForm extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
connectToHardwareWallet = (device) => {
|
connectToHardwareWallet = (device) => {
|
||||||
// Ledger hardware wallets are not supported on firefox
|
|
||||||
if (getPlatform() === PLATFORM_FIREFOX && device === 'ledger') {
|
|
||||||
this.setState({ browserSupported: false, error: null})
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.state.accounts.length) {
|
if (this.state.accounts.length) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user