Rename handleEvents to handleEvent
This commit is contained in:
parent
6acd0ed687
commit
7ad9c8f687
94 changed files with 182 additions and 182 deletions
|
|
@ -161,7 +161,7 @@ class CallScreenPresenter(
|
|||
}
|
||||
}
|
||||
|
||||
fun handleEvents(event: CallScreenEvents) {
|
||||
fun handleEvent(event: CallScreenEvents) {
|
||||
when (event) {
|
||||
is CallScreenEvents.Hangup -> {
|
||||
val widgetId = callWidgetDriver.value?.id
|
||||
|
|
@ -201,7 +201,7 @@ class CallScreenPresenter(
|
|||
userAgent = userAgent,
|
||||
isCallActive = isWidgetLoaded,
|
||||
isInWidgetMode = isInWidgetMode,
|
||||
eventSink = ::handleEvents,
|
||||
eventSink = ::handleEvent,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue