mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-21 16:00:59 +00:00
Don't error timeline on new statuses if there is statuses displayed.
This commit is contained in:
parent
35e8cb6512
commit
1d11f78abc
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ extension TimelineViewModel: StatusesFetcher {
|
|||
pendingStatusesObserver.isLoadingNewStatuses = !pullToRefresh
|
||||
try await fetchNewPagesFrom(latestStatus: latest.id, client: client)
|
||||
}
|
||||
} catch let error {
|
||||
if (error as NSError).code != -999 {
|
||||
} catch {
|
||||
if await datasource.isEmpty {
|
||||
statusesState = .error(error: error)
|
||||
}
|
||||
canStreamEvents = true
|
||||
|
|
Loading…
Reference in a new issue