diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2019-05-29 06:13:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-29 06:13:59 +0800 |
commit | 681f3f67b89b64fc837df1103198b641c7e7b2d6 (patch) | |
tree | fc1c224a9f7d98e553a4e4fd5cf8152948d3642e | |
parent | d2d6b547b6f104223803827666a76aaf7b2f5d53 (diff) | |
parent | 79d2eaffac37495dd113672f2638baa19f59223a (diff) | |
download | tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.tar tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.tar.gz tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.tar.bz2 tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.tar.lz tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.tar.xz tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.tar.zst tangerine-wallet-browser-681f3f67b89b64fc837df1103198b641c7e7b2d6.zip |
Merge pull request #6659 from matkam/develop
Enable Ledger hardware wallet support on Firefox
-rw-r--r-- | ui/app/pages/create-account/connect-hardware/index.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/app/pages/create-account/connect-hardware/index.js b/ui/app/pages/create-account/connect-hardware/index.js index 5a91a2725..80a160205 100644 --- a/ui/app/pages/create-account/connect-hardware/index.js +++ b/ui/app/pages/create-account/connect-hardware/index.js @@ -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) { @@ -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 } |