Remove extra space in filename

This commit is contained in:
Benoit Marty 2023-10-02 17:12:21 +02:00
parent 2921ab1bd4
commit 9c6010aa6e
7 changed files with 12 additions and 12 deletions

View file

@ -0,0 +1,22 @@
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}#end
import androidx.compose.runtime.Composable
import io.element.android.libraries.architecture.Presenter
import javax.inject.Inject
class ${NAME}Presenter @Inject constructor() : Presenter<${NAME}State> {
@Composable
override fun present(): ${NAME}State {
fun handleEvents(event: ${NAME}Events) {
when (event) {
${NAME}Events.MyEvent -> Unit
}
}
return ${NAME}State(
eventSink = ::handleEvents
)
}
}