mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Fix 'Global Menu Explorer / Account Details' What's New (#20371)
This commit is contained in:
parent
e351a6bbe2
commit
5a9addc532
@ -119,7 +119,6 @@ export const UI_NOTIFICATIONS = {
|
|||||||
date: null,
|
date: null,
|
||||||
image: {
|
image: {
|
||||||
src: 'images/global-menu-block-explorer.svg',
|
src: 'images/global-menu-block-explorer.svg',
|
||||||
width: '100%',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
||||||
|
@ -100,6 +100,9 @@ function getActionFunctionById(id, history) {
|
|||||||
updateViewedNotifications({ 21: true });
|
updateViewedNotifications({ 21: true });
|
||||||
history.push(PREPARE_SWAP_ROUTE);
|
history.push(PREPARE_SWAP_ROUTE);
|
||||||
},
|
},
|
||||||
|
22: () => {
|
||||||
|
updateViewedNotifications({ 22: true });
|
||||||
|
},
|
||||||
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
||||||
23: () => {
|
23: () => {
|
||||||
updateViewedNotifications({ 23: true });
|
updateViewedNotifications({ 23: true });
|
||||||
@ -383,6 +386,7 @@ export default function WhatsNewPopup({
|
|||||||
18: renderFirstNotification,
|
18: renderFirstNotification,
|
||||||
19: renderFirstNotification,
|
19: renderFirstNotification,
|
||||||
21: renderFirstNotification,
|
21: renderFirstNotification,
|
||||||
|
22: renderFirstNotification,
|
||||||
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
||||||
23: renderFirstNotification,
|
23: renderFirstNotification,
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
|
@ -1008,6 +1008,7 @@ function getAllowedAnnouncementIds(state) {
|
|||||||
19: false,
|
19: false,
|
||||||
20: currentKeyringIsLedger && isFirefox,
|
20: currentKeyringIsLedger && isFirefox,
|
||||||
21: isSwapsChain,
|
21: isSwapsChain,
|
||||||
|
22: true,
|
||||||
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
///: BEGIN:ONLY_INCLUDE_IN(blockaid)
|
||||||
23: true,
|
23: true,
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
|
Loading…
Reference in New Issue
Block a user