1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix #19059 - Show network picker when locked (#19063)

This commit is contained in:
David Walsh 2023-05-09 03:06:54 -05:00 committed by GitHub
parent ecea162b10
commit 124678e701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,16 +350,14 @@ export const AppHeader = ({ location }) => {
padding={2}
gap={2}
>
{popupStatus ? null : (
<div>
<PickerNetwork
label={currentNetwork?.nickname}
src={currentNetwork?.rpcPrefs?.imageUrl}
onClick={() => dispatch(toggleNetworkMenu())}
className="multichain-app-header__contents__network-picker"
/>
</div>
)}
<div>
<PickerNetwork
label={currentNetwork?.nickname}
src={currentNetwork?.rpcPrefs?.imageUrl}
onClick={() => dispatch(toggleNetworkMenu())}
className="multichain-app-header__contents__network-picker"
/>
</div>
<MetafoxLogo
unsetIconHeight
onClick={async () => {