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

@ -107,7 +107,7 @@ class IncomingVerificationPresenter(
}
}
fun handleEvents(event: IncomingVerificationViewEvents) {
fun handleEvent(event: IncomingVerificationViewEvents) {
Timber.d("Verification user action: ${event::class.simpleName}")
when (event) {
IncomingVerificationViewEvents.StartVerification ->
@ -141,7 +141,7 @@ class IncomingVerificationPresenter(
return IncomingVerificationState(
step = step,
request = verificationRequest,
eventSink = ::handleEvents,
eventSink = ::handleEvent,
)
}

View file

@ -92,7 +92,7 @@ class OutgoingVerificationPresenter(
observeVerificationService()
}
fun handleEvents(event: OutgoingVerificationViewEvents) {
fun handleEvent(event: OutgoingVerificationViewEvents) {
Timber.d("Verification user action: ${event::class.simpleName}")
when (event) {
// Just relay the event to the state machine
@ -109,7 +109,7 @@ class OutgoingVerificationPresenter(
return OutgoingVerificationState(
step = step,
request = verificationRequest,
eventSink = ::handleEvents,
eventSink = ::handleEvent,
)
}