Commit 584ec61
committed
fix: restore NotificationToggle component to SettingsPanel
Restores the NotificationToggle component that was incorrectly removed in commit 504f97c.
Without this component, users cannot enable/disable notifications via the UI, causing
notifications to fail even when browser permissions are granted.
Root cause: The component was removed as "unused" but is actually essential for controlling
the notificationStore.enabled flag that gates notification display on timer completion.
Changes:
- Add NotificationToggle import to SettingsPanel
- Place NotificationToggle at the top of settings options for visibility
Verified:
- Build successful (TypeScript, ESLint)
- UI tested on desktop (1280x720), tablet (768x1024), mobile (375x667)
- All breakpoints render correctly with proper touch targets
This fix enables users to control notifications through the settings panel.1 parent dd1ab45 commit 584ec61
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments