aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-08-19 22:57:51 +0800
committerGitHub <noreply@github.com>2016-08-19 22:57:51 +0800
commit30af7e96cba7a88d46d3376097e4d44b715f834c (patch)
treec2bb2a52f309be3b781ac0ba6ef8df0b287d991c /ui/app/app.js
parent9c29328085fbad82ce7bce4659ce6968405a7b3c (diff)
parent9cd85aea2f858cb79f82cde57e53096756092503 (diff)
downloadtangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.tar
tangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.tar.gz
tangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.tar.bz2
tangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.tar.lz
tangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.tar.xz
tangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.tar.zst
tangerine-wallet-browser-30af7e96cba7a88d46d3376097e4d44b715f834c.zip
Merge pull request #559 from MetaMask/shapeshiftTx
Shapeshift tx
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 2d8b46ce8..84ff16ec8 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -29,6 +29,7 @@ const NetworkIndicator = require('./components/network')
const Tooltip = require('./components/tooltip')
const EthStoreWarning = require('./eth-store-warning')
const BuyView = require('./components/buy-button-subview')
+const QrView = require('./components/qr-code')
module.exports = connect(mapStateToProps)(App)
inherits(App, Component)
@@ -359,6 +360,33 @@ App.prototype.renderPrimary = function () {
return h(CreateVaultScreen, {key: 'createVault'})
case 'buyEth':
return h(BuyView, {key: 'buyEthView'})
+ case 'qr':
+ return h('div', {
+ style: {
+ position: 'absolute',
+ height: '100%',
+ top: '0px',
+ left: '0px',
+ },
+ }, [
+ h('i.fa.fa-arrow-left.fa-lg.cursor-pointer.color-orange', {
+ onClick: () => props.dispatch(actions.backToAccountDetail(props.activeAddress)),
+ style: {
+ marginLeft: '10px',
+ marginTop: '50px',
+ },
+ }),
+ h('div', {
+ style: {
+ position: 'absolute',
+ bottom: '115px',
+ left: '44px',
+ width: '285px',
+ },
+ }, [
+ h(QrView, {key: 'qr'}),
+ ]),
+ ])
default:
return h(AccountDetailScreen, {key: 'account-detail'})