Template : fix CI

This commit is contained in:
ganfra 2023-01-19 20:20:35 +01:00
parent d177b08079
commit 50cd1ff1d4
3 changed files with 3 additions and 3 deletions

View file

@ -17,5 +17,5 @@
package io.element.android.x.features.template
sealed interface TemplateEvents {
object MyEvent: TemplateEvents
}

View file

@ -29,7 +29,7 @@ import io.element.android.x.anvilannotations.ContributesNode
import io.element.android.x.architecture.presenterConnector
import io.element.android.x.di.AppScope
// TODO: use the right Scope for your feature
// Change to use the right Scope for your feature.
@ContributesNode(AppScope::class)
class TemplateNode @AssistedInject constructor(
@Assisted buildContext: BuildContext,

View file

@ -27,7 +27,7 @@ class TemplatePresenter @Inject constructor() : Presenter<TemplateState> {
fun handleEvents(event: TemplateEvents) {
when (event) {
else -> Unit
TemplateEvents.MyEvent -> Unit
}
}