mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 08:35:26 +00:00
Fix #1960
This commit is contained in:
parent
923927cddd
commit
fcd56ab7a0
1 changed files with 1 additions and 5 deletions
|
@ -376,11 +376,7 @@ extension TimelineViewModel: StatusesFetcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// We trigger a new fetch so we can get the next new statuses if any.
|
if !Task.isCancelled,
|
||||||
// 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,
|
|
||||||
let latest = await datasource.get().first
|
let latest = await datasource.get().first
|
||||||
{
|
{
|
||||||
pendingStatusesObserver.isLoadingNewStatuses = true
|
pendingStatusesObserver.isLoadingNewStatuses = true
|
||||||
|
|
Loading…
Reference in a new issue