diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-15 05:05:28 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-15 05:05:28 +0800 |
commit | fcee7723e99c13b3fddcb97853dfdd771b42de14 (patch) | |
tree | 6837476a4a3797cf26dd2a1e1661f9b79bbb5797 /ui/app | |
parent | 1ec7930c75f10390e3e4ab553e1032056d1d2c2f (diff) | |
parent | c759300d4cff90f6dc23d5550d8f0f3f9107eca2 (diff) | |
download | tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.tar tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.tar.gz tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.tar.bz2 tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.tar.lz tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.tar.xz tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.tar.zst tangerine-wallet-browser-fcee7723e99c13b3fddcb97853dfdd771b42de14.zip |
Merge branch 'i1165-predictive' of github.com:MetaMask/metamask-plugin into i1165-predictive
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/app.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 2bc92b54c..9c1ba8a3a 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -266,7 +266,7 @@ App.prototype.renderNetworkDropdown = function () { this.renderCustomOption(props.provider), this.renderCommonRpc(rpcList, props.provider), - props.isUnlocked && h(DropMenuItem, { + h(DropMenuItem, { label: 'Custom RPC', closeMenu: () => this.setState({ isNetworkMenuOpen: false }), action: () => this.props.dispatch(actions.showConfigPage()), @@ -400,6 +400,10 @@ App.prototype.renderPrimary = function () { log.debug('rendering restore vault screen') return h(HDRestoreVaultScreen, {key: 'HDRestoreVaultScreen'}) + case 'config': + log.debug('rendering config screen from unlock screen.') + return h(ConfigScreen, {key: 'config'}) + default: log.debug('rendering locked screen') return h(UnlockScreen, {key: 'locked'}) |