diff --git a/ui/components/app/menu-bar/account-options-menu.js b/ui/components/app/menu-bar/account-options-menu.js index dfcdf2bfe..5e83f8aec 100644 --- a/ui/components/app/menu-bar/account-options-menu.js +++ b/ui/components/app/menu-bar/account-options-menu.js @@ -77,6 +77,27 @@ export default function AccountOptionsMenu({ anchorElement, onClose }) { className="account-options-menu" onHide={onClose} > + { + blockExplorerLinkClickedEvent(); + global.platform.openTab({ + url: addressLink, + }); + onClose(); + }} + subtitle={ + blockExplorerUrlSubTitle ? ( + + {blockExplorerUrlSubTitle} + + ) : null + } + iconClassName="fas fa-external-link-alt" + > + {rpcPrefs.blockExplorerUrl + ? t('viewinExplorer', [t('blockExplorerAccountAction')]) + : t('viewOnEtherscan', [t('blockExplorerAccountAction')])} + {getEnvironmentType() === ENVIRONMENT_TYPE_FULLSCREEN ? null : ( { @@ -100,27 +121,6 @@ export default function AccountOptionsMenu({ anchorElement, onClose }) { > {t('accountDetails')} - { - blockExplorerLinkClickedEvent(); - global.platform.openTab({ - url: addressLink, - }); - onClose(); - }} - subtitle={ - blockExplorerUrlSubTitle ? ( - - {blockExplorerUrlSubTitle} - - ) : null - } - iconClassName="fas fa-external-link-alt" - > - {rpcPrefs.blockExplorerUrl - ? t('viewinExplorer', [t('blockExplorerAccountAction')]) - : t('viewOnEtherscan', [t('blockExplorerAccountAction')])} - {