mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
Properly skip the FTUE verification screen if verification is not needed.
This commit is contained in:
committed by
Benoit Marty
parent
2c8b0d0b95
commit
f32e7c7e02
+4
@@ -20,12 +20,16 @@ import com.bumble.appyx.core.modality.BuildContext
|
||||
import com.bumble.appyx.core.node.Node
|
||||
import com.bumble.appyx.core.plugin.Plugin
|
||||
import io.element.android.libraries.architecture.FeatureEntryPoint
|
||||
import io.element.android.libraries.architecture.NodeInputs
|
||||
|
||||
interface VerifySessionEntryPoint : FeatureEntryPoint {
|
||||
data class Params(val showDeviceVerifiedScreen: Boolean) : NodeInputs
|
||||
|
||||
fun nodeBuilder(parentNode: Node, buildContext: BuildContext): NodeBuilder
|
||||
|
||||
interface NodeBuilder {
|
||||
fun callback(callback: Callback): NodeBuilder
|
||||
fun params(params: Params): NodeBuilder
|
||||
fun build(): Node
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user