Timeline: revert back the paginateBackwards in the TimelinePresenter so it's now blocked in the Timeline if needed

This commit is contained in:
ganfra 2023-07-13 11:23:04 +02:00
parent a92fa391e5
commit 94cb694a0d

View file

@ -85,6 +85,11 @@ class TimelinePresenter @Inject constructor(
timeline
.timelineItems
.onEach(timelineItemsFactory::replaceWith)
.onEach { timelineItems ->
if (timelineItems.isEmpty()) {
paginateBackwards()
}
}
.launchIn(this)
}