mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-09 13:22:48 +01:00
Ignore cancelled error on timeline
This commit is contained in:
parent
dd1a4585e0
commit
48febd628f
@ -214,8 +214,10 @@ extension TimelineViewModel: StatusesFetcher {
|
|||||||
pendingStatusesObserver.isLoadingNewStatuses = !pullToRefresh
|
pendingStatusesObserver.isLoadingNewStatuses = !pullToRefresh
|
||||||
try await fetchNewPagesFrom(latestStatus: latest.id, client: client)
|
try await fetchNewPagesFrom(latestStatus: latest.id, client: client)
|
||||||
}
|
}
|
||||||
} catch {
|
} catch let error {
|
||||||
|
if (error as NSError).code != -999 {
|
||||||
statusesState = .error(error: error)
|
statusesState = .error(error: error)
|
||||||
|
}
|
||||||
canStreamEvents = true
|
canStreamEvents = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user