We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ac1de1 commit 885df39Copy full SHA for 885df39
client/src/lib/components/Settings.svelte
@@ -211,13 +211,10 @@
211
notificationsDisabled = disabled;
212
try {
213
if (disabled) {
214
- await API.setGlobalCalendarPreference({ reminder_settings: [] });
+
215
snackbar('All notifications disabled', undefined, true);
216
} else {
217
- await API.setGlobalCalendarPreference({
218
- reminder_settings: [{ time: "30", type: "minutes", method: "notification" }]
219
- });
220
- snackbar('Default notifications restored (30 min before)', undefined, true);
221
}
222
} catch (e) {
223
console.error('Failed to update notification settings:', e);
0 commit comments