diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-02-14 02:28:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14 02:28:49 +0800 |
commit | 96d40ee618fc158c0e447f770d9077ba145ef91f (patch) | |
tree | 8895771a27597ec1274209c9b55c73e55b819441 /ui | |
parent | 35c762da47c4b604f44e903940245f87eb7a3d3a (diff) | |
parent | bb79fb354b4618e3090cd1c1a232f318b86ebf88 (diff) | |
download | tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.tar tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.tar.gz tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.tar.bz2 tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.tar.lz tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.tar.xz tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.tar.zst tangerine-wallet-browser-96d40ee618fc158c0e447f770d9077ba145ef91f.zip |
Merge pull request #3216 from danjm/MM-666-try-beta-link-unlock-privacy-screens
[NewUI] Try beta link on unlock and privacy screens.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/unlock.js | 17 |
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'), + ]), + ]) ) } |