mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Rename handleEvents to handleEvent
This commit is contained in:
+2
-2
@@ -62,7 +62,7 @@ class RoomDirectoryPresenter(
|
||||
loadingMore = false
|
||||
}
|
||||
}
|
||||
fun handleEvents(event: RoomDirectoryEvents) {
|
||||
fun handleEvent(event: RoomDirectoryEvents) {
|
||||
when (event) {
|
||||
RoomDirectoryEvents.LoadMore -> {
|
||||
loadingMore = true
|
||||
@@ -77,7 +77,7 @@ class RoomDirectoryPresenter(
|
||||
query = searchQuery.orEmpty(),
|
||||
roomDescriptions = listState.items,
|
||||
displayLoadMoreIndicator = listState.hasMoreToLoad,
|
||||
eventSink = ::handleEvents
|
||||
eventSink = ::handleEvent,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user