Update the template to use the singular form for Event interface.

This commit is contained in:
Benoit Marty 2025-11-07 13:39:56 +01:00
parent cffd4c31c9
commit b37979d003
4 changed files with 7 additions and 7 deletions

View file

@ -10,9 +10,9 @@ class ${NAME}Presenter() : Presenter<${NAME}State> {
@Composable
override fun present(): ${NAME}State {
fun handleEvent(event: ${NAME}Events) {
fun handleEvent(event: ${NAME}Event) {
when (event) {
${NAME}Events.MyEvent -> Unit
${NAME}Event.MyEvent -> Unit
}
}