Lock settings : branch the flow

This commit is contained in:
ganfra 2023-10-23 18:11:02 +02:00
parent 02b32f3a66
commit 587cfcd886
15 changed files with 100 additions and 15 deletions

View file

@ -16,6 +16,22 @@
package io.element.android.features.lockscreen.api
import io.element.android.libraries.architecture.SimpleFeatureEntryPoint
import com.bumble.appyx.core.modality.BuildContext
import com.bumble.appyx.core.node.Node
import io.element.android.libraries.architecture.FeatureEntryPoint
interface LockScreenEntryPoint : SimpleFeatureEntryPoint
interface LockScreenEntryPoint : FeatureEntryPoint {
fun nodeBuilder(parentNode: Node, buildContext: BuildContext): NodeBuilder
interface NodeBuilder {
fun target(target: Target): NodeBuilder
fun build(): Node
}
enum class Target {
Settings,
Setup,
Unlock
}
}