Rename handleEvents to handleEvent
This commit is contained in:
parent
6acd0ed687
commit
7ad9c8f687
94 changed files with 182 additions and 182 deletions
|
|
@ -33,7 +33,7 @@ class AccountDeactivationPresenter(
|
|||
|
||||
val formState = remember { mutableStateOf(DeactivateFormState.Default) }
|
||||
|
||||
fun handleEvents(event: AccountDeactivationEvents) {
|
||||
fun handleEvent(event: AccountDeactivationEvents) {
|
||||
when (event) {
|
||||
is AccountDeactivationEvents.SetEraseData -> {
|
||||
updateFormState(formState) {
|
||||
|
|
@ -63,7 +63,7 @@ class AccountDeactivationPresenter(
|
|||
return AccountDeactivationState(
|
||||
deactivateFormState = formState.value,
|
||||
accountDeactivationAction = action.value,
|
||||
eventSink = ::handleEvents
|
||||
eventSink = ::handleEvent,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue