PIN: add callback on LockScreenEntryPoint
This commit is contained in:
parent
54cd62ab76
commit
2cb0addd3e
4 changed files with 46 additions and 1 deletions
|
|
@ -145,7 +145,13 @@ class FtueFlowNode @AssistedInject constructor(
|
|||
analyticsEntryPoint.createNode(this, buildContext)
|
||||
}
|
||||
NavTarget.LockScreenSetup -> {
|
||||
val callback = object : LockScreenEntryPoint.Callback {
|
||||
override fun onSetupCompleted() {
|
||||
lifecycleScope.launch { moveToNextStep() }
|
||||
}
|
||||
}
|
||||
lockScreenEntryPoint.nodeBuilder(this, buildContext)
|
||||
.callback(callback)
|
||||
.target(LockScreenEntryPoint.Target.Setup)
|
||||
.build()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue