Skip to content

Commit

Permalink
Merge pull request #6659 from matkam/develop
Browse files Browse the repository at this point in the history
Enable Ledger hardware wallet support on Firefox
  • Loading branch information
tmashuang authored May 28, 2019
2 parents d2d6b54 + 79d2eaf commit 681f3f6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ui/app/pages/create-account/connect-hardware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const ConnectScreen = require('./connect-screen')
const AccountList = require('./account-list')
const { DEFAULT_ROUTE } = require('../../../helpers/constants/routes')
const { formatBalance } = require('../../../helpers/utils/util')
const { getPlatform } = require('../../../../../app/scripts/lib/util')
const { PLATFORM_FIREFOX } = require('../../../../../app/scripts/lib/enums')

class ConnectHardwareForm extends Component {
constructor (props) {
Expand Down Expand Up @@ -51,12 +49,6 @@ class ConnectHardwareForm extends Component {
}

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) {
return null
}
Expand Down

0 comments on commit 681f3f6

Please sign in to comment.