|
|
@ -266,7 +266,7 @@ App.prototype.renderNetworkDropdown = function () { |
|
|
|
this.renderCustomOption(props.provider), |
|
|
|
this.renderCustomOption(props.provider), |
|
|
|
this.renderCommonRpc(rpcList, props.provider), |
|
|
|
this.renderCommonRpc(rpcList, props.provider), |
|
|
|
|
|
|
|
|
|
|
|
props.isUnlocked && h(DropMenuItem, { |
|
|
|
h(DropMenuItem, { |
|
|
|
label: 'Custom RPC', |
|
|
|
label: 'Custom RPC', |
|
|
|
closeMenu: () => this.setState({ isNetworkMenuOpen: false }), |
|
|
|
closeMenu: () => this.setState({ isNetworkMenuOpen: false }), |
|
|
|
action: () => this.props.dispatch(actions.showConfigPage()), |
|
|
|
action: () => this.props.dispatch(actions.showConfigPage()), |
|
|
@ -400,6 +400,10 @@ App.prototype.renderPrimary = function () { |
|
|
|
log.debug('rendering restore vault screen') |
|
|
|
log.debug('rendering restore vault screen') |
|
|
|
return h(HDRestoreVaultScreen, {key: 'HDRestoreVaultScreen'}) |
|
|
|
return h(HDRestoreVaultScreen, {key: 'HDRestoreVaultScreen'}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case 'config': |
|
|
|
|
|
|
|
log.debug('rendering config screen from unlock screen.') |
|
|
|
|
|
|
|
return h(ConfigScreen, {key: 'config'}) |
|
|
|
|
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
log.debug('rendering locked screen') |
|
|
|
log.debug('rendering locked screen') |
|
|
|
return h(UnlockScreen, {key: 'locked'}) |
|
|
|
return h(UnlockScreen, {key: 'locked'}) |
|
|
|