Skip to content

Commit 885df39

Browse files
committed
remove this
1 parent 7ac1de1 commit 885df39

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

client/src/lib/components/Settings.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,10 @@
211211
notificationsDisabled = disabled;
212212
try {
213213
if (disabled) {
214-
await API.setGlobalCalendarPreference({ reminder_settings: [] });
214+
215215
snackbar('All notifications disabled', undefined, true);
216216
} 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);
217+
221218
}
222219
} catch (e) {
223220
console.error('Failed to update notification settings:', e);

0 commit comments

Comments
 (0)