feat(#270): hide calendars in chosen views

This commit is contained in:
makiolaj committed 2026-11-13 18:45:17 +01:00
1 parent e9cf7d66ba
commit e3e9865d3f
20 files changed
+390 -28

No files matched your search

+5 -1
View File
@@ -389,7 +389,11 @@ pre-permission launch); `CalendarVisibilityReconciler` drains it entry by entry,
and until it does, the repository and `ReminderNotifier.post` honour it. That
gate also covers a snooze re-shown from our own alarm after its calendar was
switched off. The drawer's filter sheet (`CalendarPrefs.hiddenCalendarIds`) is a
separate in-app declutter that never touches reminders.
separate in-app declutter that never touches reminders. Narrower still is the per-view hide
(`SettingsPrefs.perCalendarHiddenViews`, #270): each view model asks for its
events through `instancesIn(view, …)`, which drops the calendars hidden in that
one view on top of the repository's filters; reminders, search and widgets read
the repository and never see it.
Deliberately absent: a fallback to the provider's `EVENT_REMINDER` broadcast.
Keeping both would double-post wherever the provider works, and Etar's way out —