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