From c2fe18475adc66f08db1795325f5899992b279e7 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 31 Oct 2026 12:04:40 -0700 Subject: [PATCH] Reload all timeline cells on iOS when feed icons setting changes, so row heights get recalculated. --- iOS/MainTimeline/MainTimelineViewController.swift | 2 +- iOS/SceneCoordinator.swift | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iOS/MainTimeline/MainTimelineViewController.swift b/iOS/MainTimeline/MainTimelineViewController.swift index 8626da583..d1cdf6c57 100644 --- a/iOS/MainTimeline/MainTimelineViewController.swift +++ b/iOS/MainTimeline/MainTimelineViewController.swift @@ -426,7 +426,7 @@ final class MainTimelineViewController: UIViewController, UndoableCommandRunner } /// Measures every row again, including rows that aren’t visible. - private func reloadAllCells() { + func reloadAllCells() { guard let dataSource else { return } diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index d6f419f54..8bb593a7d 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -714,7 +714,8 @@ struct SidebarItemNode: Hashable, Sendable { @objc func handleTimelineFeedIconsDisplayDidChange(_ notification: Notification) { updateShowNamesAndIcons() - mainTimelineViewController?.queueReloadAvailableCells() + // Showing the icon changes the text width, and so the height of every row. + mainTimelineViewController?.reloadAllCells() } /// Updates navigation bar subtitles in response to feed selection, unread count changes,