Timeline: revert back the paginateBackwards in the TimelinePresenter so it's now blocked in the Timeline if needed
This commit is contained in:
+5
@@ -85,6 +85,11 @@ class TimelinePresenter @Inject constructor(
|
||||
timeline
|
||||
.timelineItems
|
||||
.onEach(timelineItemsFactory::replaceWith)
|
||||
.onEach { timelineItems ->
|
||||
if (timelineItems.isEmpty()) {
|
||||
paginateBackwards()
|
||||
}
|
||||
}
|
||||
.launchIn(this)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user