@@ -20,7 +20,8 @@ import {
2020 KeyTypefullyGrowTab ,
2121 KeyWriterMode ,
2222 KeyXPremiumButton ,
23- KeyNavigationButtonsLabels
23+ KeyNavigationButtonsLabels ,
24+ KeyTitleNotifications
2425} from "../../../../storage-keys" ;
2526import changeHideViewCounts from "../options/hideViewCount" ;
2627import { addAnalyticsButton , addCommunitiesButton , addListsButton , addTopicsButton , addXPremiumButton , hideGrokDrawer , changeNavigationButtonsLabels } from "../options/navigation" ;
@@ -32,6 +33,7 @@ import { updateLeftSidebarPositioning } from "../utilities/leftSidebarPosition";
3233import { addSmallerSearchBarStyle } from "../utilities/other-styles" ;
3334import { getStorage } from "../utilities/storage" ;
3435import throttle from "../utilities/throttle" ;
36+ import { changeTitleNotifications } from "../options/interface" ;
3537
3638export const dynamicFeatures = {
3739 general : async ( ) => {
@@ -45,6 +47,9 @@ export const dynamicFeatures = {
4547 addMediaDownloadButtons ( ) ;
4648 enableGrokDrawerOnGrokButtonClick ( data [ KeyHideGrokDrawer ] ) ;
4749 } ,
50+ interface : ( data ) => {
51+ changeTitleNotifications ( data [ KeyTitleNotifications ] ) ;
52+ } ,
4853 typefullyPlugs : ( ) => {
4954 saveCurrentReplyToLink ( ) ;
5055 addTypefullyReplyPlug ( ) ;
@@ -78,14 +83,15 @@ export const dynamicFeatures = {
7883} ;
7984
8085export const runDynamicFeatures = throttle ( async ( ) => {
81- const data = await getStorage ( [ KeyWriterMode , KeyFollowingTimeline , KeyTrendsHomeTimeline , KeyRemoveTimelineTabs , KeyHideGrokDrawer , KeyNavigationButtonsLabels ] ) ;
86+ const data = await getStorage ( [ KeyWriterMode , KeyFollowingTimeline , KeyTrendsHomeTimeline , KeyRemoveTimelineTabs , KeyHideGrokDrawer , KeyNavigationButtonsLabels , KeyTitleNotifications ] ) ;
8287
8388 if ( data ) {
8489 dynamicFeatures . general ( ) ;
8590 dynamicFeatures . typefullyPlugs ( ) ;
8691 await dynamicFeatures . sidebarButtons ( ) ;
8792 await dynamicFeatures . writerMode ( data ) ;
8893 dynamicFeatures . navigation ( data ) ;
94+ dynamicFeatures . interface ( data ) ;
8995
9096 // The Grok drawer appears dynamically, so we need to handle it here as well
9197 // as in the static features module
0 commit comments