mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead.
This commit is contained in:
committed by
Benoit Marty
parent
61b7ee03c9
commit
c97e60fcaf
+10
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user