1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

Fix 'Global Menu Explorer / Account Details' What's New (#20371)

This commit is contained in:
David Walsh 2023-08-03 09:16:01 -05:00 committed by Dan J Miller
parent 75dcb03069
commit eda24aab4f
3 changed files with 5 additions and 1 deletions

View File

@ -119,7 +119,6 @@ export const UI_NOTIFICATIONS = {
date: null,
image: {
src: 'images/global-menu-block-explorer.svg',
width: '100%',
},
},
};

View File

@ -100,6 +100,9 @@ function getActionFunctionById(id, history) {
updateViewedNotifications({ 21: true });
history.push(PREPARE_SWAP_ROUTE);
},
22: () => {
updateViewedNotifications({ 22: true });
},
};
return actionFunctions[id];
@ -360,6 +363,7 @@ export default function WhatsNewPopup({
18: renderFirstNotification,
19: renderFirstNotification,
21: renderFirstNotification,
22: renderFirstNotification,
};
return (

View File

@ -995,6 +995,7 @@ function getAllowedAnnouncementIds(state) {
19: false,
20: currentKeyringIsLedger && isFirefox,
21: isSwapsChain,
22: true,
};
}