From fcd56ab7a05f067d2465fde17d1b0239ee259372 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 11 Feb 2024 11:13:03 +0100 Subject: [PATCH] Fix #1960 --- .../Timeline/Sources/Timeline/View/TimelineViewModel.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift b/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift index 7434b620..0ff00b94 100644 --- a/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift +++ b/Packages/Timeline/Sources/Timeline/View/TimelineViewModel.swift @@ -376,11 +376,7 @@ extension TimelineViewModel: StatusesFetcher { } } - // We trigger a new fetch so we can get the next new statuses if any. - // If none, it'll stop there. - // Only do that in the context of the home timeline as other don't worth catching up that much. - if timeline == .home, - !Task.isCancelled, + if !Task.isCancelled, let latest = await datasource.get().first { pendingStatusesObserver.isLoadingNewStatuses = true