From 3d6a4fc4d74b115c5b08a313a12a09a0ff36b5c2 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 30 Oct 2026 17:19:29 -0700 Subject: [PATCH] Load saved thumbnail URLs before applying changes to the timeline. --- iOS/MainTimeline/MainTimelineViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iOS/MainTimeline/MainTimelineViewController.swift b/iOS/MainTimeline/MainTimelineViewController.swift index 4e62b6083..81a6c43ed 100644 --- a/iOS/MainTimeline/MainTimelineViewController.swift +++ b/iOS/MainTimeline/MainTimelineViewController.swift @@ -1132,10 +1132,12 @@ private extension MainTimelineViewController { } /// Finds thumbnails in the HTML of articles with no provided image. Local work, no downloads. + /// Saved results are ready when this returns, so rows laid out next get their final heights. func discoverThumbnailURLs() { guard thumbnailMode != nil, let articles, !articles.isEmpty else { return } + ArticleThumbnailFinder.shared.loadSavedThumbnailURLs(for: articles) Task { await ArticleThumbnailFinder.shared.discoverThumbnailURLs(for: articles) }