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

@ -116,7 +116,7 @@ class ConfigureRoomPresenter(
localCoroutineScope.createRoom(config, createRoomAction)
}
fun handleEvents(event: ConfigureRoomEvents) {
fun handleEvent(event: ConfigureRoomEvents) {
when (event) {
is ConfigureRoomEvents.RoomNameChanged -> dataStore.setRoomName(event.name)
is ConfigureRoomEvents.TopicChanged -> dataStore.setTopic(event.topic)
@ -149,7 +149,7 @@ class ConfigureRoomPresenter(
cameraPermissionState = cameraPermissionState,
homeserverName = homeserverName,
roomAddressValidity = roomAddressValidity.value,
eventSink = ::handleEvents,
eventSink = ::handleEvent,
)
}