Room list: enable latest event sorter.
This commit is contained in:
parent
bd65a1ded2
commit
74b04f47ed
1 changed files with 5 additions and 1 deletions
|
|
@ -66,7 +66,11 @@ internal fun RoomListInterface.entriesFlow(
|
||||||
trySendBlocking(roomEntriesUpdate)
|
trySendBlocking(roomEntriesUpdate)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val result = entriesWithDynamicAdapters(pageSize.toUInt(), listener)
|
val result = entriesWithDynamicAdaptersWith(
|
||||||
|
pageSize = pageSize.toUInt(),
|
||||||
|
enableLatestEventSorter = true,
|
||||||
|
listener = listener,
|
||||||
|
)
|
||||||
val controller = result.controller()
|
val controller = result.controller()
|
||||||
controller.setFilter(initialFilterKind)
|
controller.setFilter(initialFilterKind)
|
||||||
roomListDynamicEvents.onEach { controllerEvents ->
|
roomListDynamicEvents.onEach { controllerEvents ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue