aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-view.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-12-09 08:48:08 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-12-13 04:14:40 +0800
commit05c6789030791bd1b46434cf89c1817db37e8f38 (patch)
tree5f3eeb57e416322bd6d0b427e31e531d62e1589f /ui/app/components/tx-view.js
parent800eb2b96913684efa29ae049802b9567a825fd3 (diff)
downloadtangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.gz
tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.zst
tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.zip
Adds button for opening app in main browser window in extension.
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r--ui/app/components/tx-view.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js
index ebef22680..832f8e56a 100644
--- a/ui/app/components/tx-view.js
+++ b/ui/app/components/tx-view.js
@@ -107,6 +107,7 @@ TxView.prototype.render = function () {
h('div.flex-row.phone-visible', {
style: {
margin: '1em 0.9em',
+ justifyContent: 'space-between',
alignItems: 'center',
},
}, [
@@ -139,6 +140,10 @@ TxView.prototype.render = function () {
identity.name,
]),
+ h('div.open-in-browser', {
+ onClick: () => global.platform.openExtensionInBrowser(),
+ }, [h('img', { src: 'images/open.svg' })])
+
]),
this.renderHeroBalance(),