Format file
This commit is contained in:
parent
69f0c9935f
commit
80c474e1a6
1 changed files with 6 additions and 6 deletions
|
|
@ -154,12 +154,12 @@ class TimelinePresenter @AssistedInject constructor(
|
|||
|
||||
LaunchedEffect(Unit) {
|
||||
combine(timeline.timelineItems, room.membersStateFlow) { items, membersState ->
|
||||
timelineItemsFactory.replaceWith(
|
||||
timelineItems = items,
|
||||
roomMembers = membersState.roomMembers().orEmpty()
|
||||
)
|
||||
items
|
||||
}
|
||||
timelineItemsFactory.replaceWith(
|
||||
timelineItems = items,
|
||||
roomMembers = membersState.roomMembers().orEmpty()
|
||||
)
|
||||
items
|
||||
}
|
||||
.onEach { timelineItems ->
|
||||
if (timelineItems.isEmpty()) {
|
||||
paginateBackwards()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue