Template : fix CI
This commit is contained in:
parent
d177b08079
commit
50cd1ff1d4
3 changed files with 3 additions and 3 deletions
|
|
@ -17,5 +17,5 @@
|
|||
package io.element.android.x.features.template
|
||||
|
||||
sealed interface TemplateEvents {
|
||||
|
||||
object MyEvent: TemplateEvents
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class TemplatePresenter @Inject constructor() : Presenter<TemplateState> {
|
|||
|
||||
fun handleEvents(event: TemplateEvents) {
|
||||
when (event) {
|
||||
else -> Unit
|
||||
TemplateEvents.MyEvent -> Unit
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue