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

@ -51,7 +51,7 @@ class NotificationsOptInPresenter(
override fun present(): NotificationsOptInState {
val notificationsPermissionsState = postNotificationPermissionsPresenter.present()
fun handleEvents(event: NotificationsOptInEvents) {
fun handleEvent(event: NotificationsOptInEvents) {
when (event) {
NotificationsOptInEvents.ContinueClicked -> {
if (notificationsPermissionsState.permissionGranted) {
@ -78,7 +78,7 @@ class NotificationsOptInPresenter(
return NotificationsOptInState(
notificationsPermissionState = notificationsPermissionsState,
eventSink = ::handleEvents
eventSink = ::handleEvent,
)
}