Rename handleEvents to handleEvent

This commit is contained in:
Benoit Marty
2025-11-07 12:20:33 +01:00
parent 4283fe8634
commit cf19daf3a4
94 changed files with 182 additions and 182 deletions

View File

@@ -43,7 +43,7 @@ class ReportRoomPresenter(
val coroutineScope = rememberCoroutineScope()
fun handleEvents(event: ReportRoomEvents) {
fun handleEvent(event: ReportRoomEvents) {
when (event) {
ReportRoomEvents.Report -> coroutineScope.reportRoom(reason, leaveRoom, reportAction)
ReportRoomEvents.ToggleLeaveRoom -> {
@@ -61,7 +61,7 @@ class ReportRoomPresenter(
reason = reason,
leaveRoom = leaveRoom,
reportAction = reportAction.value,
eventSink = ::handleEvents
eventSink = ::handleEvent,
)
}