ca4c87565938c448e381f8f112ed4797adee7bd5
Hiding or showing a calendar on the web sets enabled=false + sidebar_hidden server-side, so the server stops returning that calendar's events entirely. The app synced the filter toggle TO the server (setCalendarHiddenSynced) but never pulled the server's sidebar_hidden flags back, so a calendar hidden or re-enabled on the web (or another device) was never reflected until a manual sync or relaunch — the "hide it on the web and the app won't bring it back" bug. Add reconcileCalendarVisibility(): pulls the account lists and updates the local hidden set from the server's sidebar_hidden flags for external calendars (local/ical keys untouched). It runs before the initial load, on manual sync, and on a new ON_RESUME lifecycle hook — forcing a refetch when the set changed so a re-enabled calendar's events reappear on their own. Mirrors the iOS fix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
12 MiB
Languages
JavaScript
46.5%
Python
31.8%
CSS
12.2%
HTML
9.1%
Shell
0.4%