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