mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead.
This commit is contained in:
committed by
Benoit Marty
parent
61b7ee03c9
commit
c97e60fcaf
+15
-2
@@ -8,6 +8,19 @@
|
||||
|
||||
package io.element.android.features.securityandprivacy.api
|
||||
|
||||
import io.element.android.libraries.architecture.SimpleFeatureEntryPoint
|
||||
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
|
||||
|
||||
fun interface SecurityAndPrivacyEntryPoint : SimpleFeatureEntryPoint
|
||||
fun interface SecurityAndPrivacyEntryPoint : FeatureEntryPoint {
|
||||
interface Callback : Plugin {
|
||||
fun onDone()
|
||||
}
|
||||
|
||||
fun createNode(
|
||||
parentNode: Node,
|
||||
buildContext: BuildContext,
|
||||
callback: Callback,
|
||||
): Node
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user