mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Remove custom RPC option when on lock screen.
This commit is contained in:
parent
fbabcf6191
commit
9aa70fbaba
@ -262,7 +262,7 @@ App.prototype.renderNetworkDropdown = function () {
|
|||||||
|
|
||||||
this.renderCustomOption(props.provider),
|
this.renderCustomOption(props.provider),
|
||||||
|
|
||||||
h(DropMenuItem, {
|
props.isUnlocked && 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()),
|
||||||
|
Loading…
Reference in New Issue
Block a user