Timeline: revert back the paginateBackwards in the TimelinePresenter so it's now blocked in the Timeline if needed
This commit is contained in:
parent
a92fa391e5
commit
94cb694a0d
1 changed files with 5 additions and 0 deletions
|
|
@ -85,6 +85,11 @@ class TimelinePresenter @Inject constructor(
|
|||
timeline
|
||||
.timelineItems
|
||||
.onEach(timelineItemsFactory::replaceWith)
|
||||
.onEach { timelineItems ->
|
||||
if (timelineItems.isEmpty()) {
|
||||
paginateBackwards()
|
||||
}
|
||||
}
|
||||
.launchIn(this)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue