left_sidebar: Fully rerender stream list when count display policy changes.

Now that there are many counts to update, we may as well just rerender
the whole stream list.
This commit is contained in:
Evy Kassirer
2025-07-29 16:24:45 -07:00
committed by Tim Abbott
parent 07b05f3c78
commit 033ef953db
3 changed files with 2 additions and 21 deletions

View File

@@ -957,7 +957,7 @@ export function dispatch_normal_event(event) {
}
}
if (event.property === "web_stream_unreads_count_display_policy") {
stream_list.update_dom_unread_counts_visibility();
stream_list.build_stream_list(true);
}
if (event.property === "user_list_style") {
settings_preferences.report_user_list_style_change(