diff options
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/tx-view.js | 5 | ||||
-rw-r--r-- | ui/app/select-app.js | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index 832f8e56a..bd52ac4c2 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -3,6 +3,7 @@ const connect = require('react-redux').connect const h = require('react-hyperscript') const ethUtil = require('ethereumjs-util') const inherits = require('util').inherits +const isMobileBrowser = require('../../lib/is-mobile-browser') const actions = require('../actions') const selectors = require('../selectors') @@ -140,9 +141,9 @@ TxView.prototype.render = function () { identity.name, ]), - h('div.open-in-browser', { + !isMobileBrowser() && h('div.open-in-browser', { onClick: () => global.platform.openExtensionInBrowser(), - }, [h('img', { src: 'images/open.svg' })]) + }, [h('img', { src: 'images/open.svg' })]), ]), diff --git a/ui/app/select-app.js b/ui/app/select-app.js index ffa31b767..3ea93ced3 100644 --- a/ui/app/select-app.js +++ b/ui/app/select-app.js @@ -41,7 +41,6 @@ SelectedApp.prototype.componentWillReceiveProps = function (nextProps) { SelectedApp.prototype.render = function () { const { betaUI } = this.props - const { autoAdd } = this.state const Selected = betaUI ? App : OldApp return h(Selected) } |