diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-01-17 10:34:24 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-01-17 10:34:24 +0800 |
commit | aa08d1a09dce7324eaa3b3df568df43f8c55cc63 (patch) | |
tree | b535d4e27be70aade4039a2545c130d59ca3bc30 | |
parent | 81f86cfab6da37f1a87f3243c6a082f8835ab81b (diff) | |
download | tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.tar tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.tar.gz tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.tar.bz2 tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.tar.lz tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.tar.xz tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.tar.zst tangerine-wallet-browser-aa08d1a09dce7324eaa3b3df568df43f8c55cc63.zip |
Fix merge conflicts
-rw-r--r-- | old-ui/app/app.js | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js index e5fc5b9e9..6eb1e487f 100644 --- a/old-ui/app/app.js +++ b/old-ui/app/app.js @@ -403,6 +403,14 @@ App.prototype.renderDropdown = function () { closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }), onClick: () => { this.props.dispatch(actions.showInfoPage()) }, }, 'Info/Help'), + + h(DropdownMenuItem, { + closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }), + onClick: () => { + this.props.dispatch(actions.setFeatureFlag('betaUI', true, 'BETA_UI_NOTIFICATION_MODAL')) + .then(() => this.props.dispatch(actions.setNetworkEndpoints(BETA_UI_NETWORK_TYPE))) + }, + }, 'Try Beta!'), ]) } @@ -462,11 +470,6 @@ App.prototype.renderPrimary = function () { }) } - if (props.seedWords) { - log.debug('rendering seed words') - return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'}) - } - // show initialize screen if (!props.isInitialized || props.forgottenPassword) { // show current view @@ -501,6 +504,12 @@ App.prototype.renderPrimary = function () { } } + // show seed words screen + if (props.seedWords) { + log.debug('rendering seed words') + return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'}) + } + // show current view switch (props.currentView.name) { |