Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead.
This commit is contained in:
parent
61b7ee03c9
commit
c97e60fcaf
15 changed files with 102 additions and 45 deletions
|
|
@ -383,7 +383,16 @@ class RoomDetailsFlowNode(
|
|||
knockRequestsListEntryPoint.createNode(this, buildContext)
|
||||
}
|
||||
NavTarget.SecurityAndPrivacy -> {
|
||||
securityAndPrivacyEntryPoint.createNode(this, buildContext)
|
||||
val callback = object : SecurityAndPrivacyEntryPoint.Callback {
|
||||
override fun onDone() {
|
||||
backstack.pop()
|
||||
}
|
||||
}
|
||||
securityAndPrivacyEntryPoint.createNode(
|
||||
parentNode = this,
|
||||
buildContext = buildContext,
|
||||
callback = callback,
|
||||
)
|
||||
}
|
||||
is NavTarget.VerifyUser -> {
|
||||
val params = OutgoingVerificationEntryPoint.Params(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue