Rename handleEvents to handleEvent
This commit is contained in:
parent
6acd0ed687
commit
7ad9c8f687
94 changed files with 182 additions and 182 deletions
|
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue