aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-02-09 07:33:23 +0800
committerDan <danjm.com@gmail.com>2018-02-09 10:17:32 +0800
commitbb79fb354b4618e3090cd1c1a232f318b86ebf88 (patch)
tree299699b457542b10de3183a8f9bbd4edd5b1763a /ui
parentf39222c9afd9dcab4c6234940eb9a9cb06dbc6f0 (diff)
downloadtangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.tar
tangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.tar.gz
tangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.tar.bz2
tangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.tar.lz
tangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.tar.xz
tangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.tar.zst
tangerine-wallet-browser-bb79fb354b4618e3090cd1c1a232f318b86ebf88.zip
Try beta link on unlock and privacy screens.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/unlock.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/app/unlock.js b/ui/app/unlock.js
index e77d17d7b..4b39bd3e2 100644
--- a/ui/app/unlock.js
+++ b/ui/app/unlock.js
@@ -5,6 +5,7 @@ const connect = require('react-redux').connect
const actions = require('./actions')
const getCaretCoordinates = require('textarea-caret')
const EventEmitter = require('events').EventEmitter
+const { OLD_UI_NETWORK_TYPE } = require('../../app/scripts/config').enums
const Mascot = require('./components/mascot')
@@ -85,6 +86,22 @@ UnlockScreen.prototype.render = function () {
},
}, 'Restore from seed phrase'),
]),
+
+ h('.flex-row.flex-center.flex-grow', [
+ h('p.pointer', {
+ onClick: () => {
+ this.props.dispatch(actions.setFeatureFlag('betaUI', false, 'OLD_UI_NOTIFICATION_MODAL'))
+ .then(() => this.props.dispatch(actions.setNetworkEndpoints(OLD_UI_NETWORK_TYPE)))
+ },
+ style: {
+ fontSize: '0.8em',
+ color: '#aeaeae',
+ textDecoration: 'underline',
+ marginTop: '32px',
+ },
+ }, 'Use classic interface'),
+ ]),
+
])
)
}