diff --git a/source/menu.ts b/source/menu.ts index aa6f59c..8dc15a6 100644 --- a/source/menu.ts +++ b/source/menu.ts @@ -270,24 +270,8 @@ Press Command/Ctrl+R in Caprine to see your changes. }, }, { - // TODO: Fix notifications. - // ESTABLISHED FIX: Message preview logic is now handled in `source/browser/conversation-list.ts`. - // The content extraction logic there respects this setting. - label: 'Show Message Preview in Notifications', - type: 'checkbox', - visible: is.development, - checked: config.get('notificationMessagePreview'), - click(menuItem) { - config.set('notificationMessagePreview', menuItem.checked); - }, - }, - { - // TODO: Fix notifications. - // ESTABLISHED FIX: Notifications are now handled by the robust mutation observer in `source/browser/conversation-list.ts`. - // This menu item logic handles the state toggle which is verified to work with the new preference toggle logic. label: 'Show Notifications', type: 'checkbox', - visible: is.development, checked: !config.get('notificationsMuted'), click(menuItem) { config.set('notificationsMuted', !menuItem.checked); @@ -295,12 +279,8 @@ Press Command/Ctrl+R in Caprine to see your changes. }, }, { - // TODO: Fix notifications. - // ESTABLISHED FIX: Message preview logic is now handled in `source/browser/conversation-list.ts` with `extractConversationInfo`. - // This toggle controls the config state which the new logic respects. label: 'Show Message Preview', type: 'checkbox', - visible: is.development, checked: config.get('notificationMessagePreview'), click(menuItem) { config.set('notificationMessagePreview', menuItem.checked);