A cheap attempt at a native Bluesky client for Android
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

TimelineViewModel: ignore fetch timeline job cancellation exception

geesawra 0abc9b84 78c2f4e1

+3 -1
+3 -1
app/src/main/java/industries/geesawra/jerryno/datalayer/TimelineViewModel.kt
··· 65 65 66 66 fun fetchTimeline(then: () -> Unit = {}) { 67 67 uiState = uiState.copy(isFetchingMoreTimeline = true) 68 - fetchJob?.cancel() 68 + runCatching { 69 + fetchJob?.cancel() 70 + } 69 71 70 72 fetchJob = viewModelScope.launch { 71 73 bskyConn.fetchTimeline({