From 52641efa081eb2aedc4ca414a2096a49679174c2 Mon Sep 17 00:00:00 2001 From: dragana8 <92531782+dragana8@users.noreply.github.com> Date: Mon, 18 Oct 2021 16:57:59 +0200 Subject: [PATCH] changed the order of items (#12384) --- .../app/menu-bar/account-options-menu.js | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) 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')])} - {