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
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue