Fix reload after clearing timeline
This commit is contained in:
parent
1abe28943c
commit
e6c995103e
|
@ -255,10 +255,9 @@ class NetworkTimelineViewModel @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun fullReload() {
|
override fun fullReload() {
|
||||||
|
nextKey = statusData.firstOrNull { it is StatusViewData.Concrete }?.asStatusOrNull()?.id?.inc()
|
||||||
statusData.clear()
|
statusData.clear()
|
||||||
nextKey = null
|
|
||||||
currentSource?.invalidate()
|
currentSource?.invalidate()
|
||||||
// FIXME: auto reload needed
|
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun fetchStatusesForKind(
|
suspend fun fetchStatusesForKind(
|
||||||
|
|
Loading…
Reference in New Issue