mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Load saved thumbnail URLs before applying changes to the timeline.
This commit is contained in:
1 parent
b17bb24a67
commit
3d6a4fc4d7
1 file changed
+2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user