diff options
author | Dan <danjm.com@gmail.com> | 2017-12-13 03:51:05 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-12-13 04:14:40 +0800 |
commit | 57c91435a7357165441252acfffcdaff6e54e422 (patch) | |
tree | 5d2aac95657c39a8a36d8e8f775123acd074e5fe /ui/app | |
parent | 4b654669e692665aba88a14cb5804370dbfd4a80 (diff) | |
download | tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.tar tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.tar.gz tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.tar.bz2 tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.tar.lz tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.tar.xz tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.tar.zst tangerine-wallet-browser-57c91435a7357165441252acfffcdaff6e54e422.zip |
Substitute isMascara check for explicit check if user is on mobile browser.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/tx-view.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index bd52ac4c2..0f8a54a74 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -15,6 +15,7 @@ module.exports = connect(mapStateToProps, mapDispatchToProps)(TxView) function mapStateToProps (state) { const sidebarOpen = state.appState.sidebarOpen + const isMascara = state.appState.isMascara const identities = state.metamask.identities const accounts = state.metamask.accounts @@ -141,7 +142,7 @@ TxView.prototype.render = function () { identity.name, ]), - !isMobileBrowser() && h('div.open-in-browser', { + !isMascara && h('div.open-in-browser', { onClick: () => global.platform.openExtensionInBrowser(), }, [h('img', { src: 'images/open.svg' })]), |