File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
ai-harvest-timesheet/src/components/notifications Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 99 FormControlLabel ,
1010 Switch ,
1111 Typography ,
12+ Alert ,
1213} from '@mui/material' ;
1314import { TimePicker } from '@mui/x-date-pickers/TimePicker' ;
1415import { LocalizationProvider } from '@mui/x-date-pickers' ;
@@ -62,6 +63,20 @@ export const NotificationSettingsDialog: React.FC<NotificationSettingsDialogProp
6263 Configure daily time logging reminders. Notifications will be shown on weekdays only.
6364 </ Typography >
6465
66+ { process . platform === 'darwin' && (
67+ < Alert severity = "info" sx = { { mb : 3 } } >
68+ < Typography variant = "body2" >
69+ To receive notifications on macOS, you need to allow them in System Settings:
70+ </ Typography >
71+ < ol style = { { marginTop : 8 , marginBottom : 0 , paddingLeft : 16 } } >
72+ < li > Open System Settings</ li >
73+ < li > Go to "Notifications"</ li >
74+ < li > Find "Harvest Timesheet" in the list</ li >
75+ < li > Enable notifications for the app</ li >
76+ </ ol >
77+ </ Alert >
78+ ) }
79+
6580 < FormControlLabel
6681 control = {
6782 < Switch
You can’t perform that action at this time.
0 commit comments