Skip to content

fix: rebuild the quick filter bar after a CalDAV refresh - #1293

Closed
unaimed wants to merge 1 commit into
FossifyOrg:mainfrom
unaimed:quick-filter-colors-after-caldav-refresh
Closed

fix: rebuild the quick filter bar after a CalDAV refresh#1293
unaimed wants to merge 1 commit into
FossifyOrg:mainfrom
unaimed:quick-filter-colors-after-caldav-refresh

Conversation

@unaimed

@unaimed unaimed commented Sep 5, 2026

Copy link
Copy Markdown

Fixes #1292: after a CalDAV refresh, a calendar's new colour or name shows
in the views but the quick filter bar keeps the old one; only clearing the
app's data made it show the new one.

Both refresh paths, updateCalDAVEvents() and calDAVChanged(), only called
refreshViewPager(); the bar is rebuilt by setupQuickFilter(), as every
other flow that changes calendars already does. Call it in both places.

Tested with a foss debug build of this branch (main at d985d5e) on a
Pixel 9a, Android 17, with DAVx5 and Nextcloud: the chip follows the views
on the app's own refresh.

Fixes FossifyOrg#1292: after a CalDAV refresh, a calendar's new colour or name shows
in the views but the quick filter bar keeps the old one; only clearing the
app's data made it show the new one.

Both refresh paths, updateCalDAVEvents() and calDAVChanged(), only called
refreshViewPager(); the bar is rebuilt by setupQuickFilter(), as every
other flow that changes calendars already does. Call it in both places.

Tested with a foss debug build of this branch (main at d985d5e) on a
Pixel 9a, Android 17, with DAVx5 and Nextcloud: the chip follows the views
on the app's own refresh.
@unaimed
unaimed requested a review from naveensingh as a code owner September 5, 2026 08:01
@fossifybot

fossifybot Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fossify accepts code contributions only for open issues labeled help wanted. This pull request does not meet that requirement or one of the documented exceptions, so it is being closed without review. Please read the contribution guidelines before starting work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick filter bar keeps old calendar colours after a CalDAV refresh

1 participant