Rename handleEvents to handleEvent

This commit is contained in:
Benoit Marty 2025-11-07 12:20:33 +01:00
parent 6acd0ed687
commit 7ad9c8f687
94 changed files with 182 additions and 182 deletions

View file

@ -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,
)
}