Browse Source

Fix triggering view update in timeline after loading cache

view-update-on-tl-cache
charlag 5 years ago
parent
commit
93fb523130
No known key found for this signature in database
GPG Key ID: 5B96E7C76F0CA558
  1. 1
      app/src/main/java/com/keylesspalace/tusky/components/timeline/TimelineViewModel.kt

1
app/src/main/java/com/keylesspalace/tusky/components/timeline/TimelineViewModel.kt

@ -546,6 +546,7 @@ class TimelineViewModel @Inject constructor(
if (kind == Kind.HOME) {
tryCache()
isLoadingInitially = statuses.isEmpty()
triggerViewUpdate()
updateCurrent()
try {
loadAbove()

Loading…
Cancel
Save