Merge branch 'main' into iOS-18

This commit is contained in:
Thomas Ricouard 2024-08-14 20:27:33 +02:00
commit cd8d360023

View file

@ -214,8 +214,10 @@ extension TimelineViewModel: StatusesFetcher {
pendingStatusesObserver.isLoadingNewStatuses = !pullToRefresh
try await fetchNewPagesFrom(latestStatus: latest.id, client: client)
}
} catch {
statusesState = .error(error: error)
} catch let error {
if (error as NSError).code != -999 {
statusesState = .error(error: error)
}
canStreamEvents = true
}
}