diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-14 07:57:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-14 07:57:37 +0800 |
commit | 2a68c89ba7c5f168083beee77161adeb863d82c9 (patch) | |
tree | 4aed8fc2fc2091c69dda09149b64bcf7308412ce /ui | |
parent | e602cb13c5266516aadeb1c6908575d43afe4164 (diff) | |
parent | 7d0bfdf076fbc05d276b7a26df4cb745ca117691 (diff) | |
download | tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.tar tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.tar.gz tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.tar.bz2 tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.tar.lz tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.tar.xz tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.tar.zst tangerine-wallet-browser-2a68c89ba7c5f168083beee77161adeb863d82c9.zip |
Merge pull request #1207 from MetaMask/i1206-customrpc
Allow changing custom RPCs from lock screen
Diffstat (limited to 'ui')
-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'}) |