Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead.

This commit is contained in:
Benoit Marty 2025-12-03 15:45:33 +01:00 committed by Benoit Marty
parent 278231f3d2
commit eec632661f
15 changed files with 102 additions and 45 deletions

View file

@ -13,7 +13,11 @@ import io.element.android.features.securityandprivacy.api.SecurityAndPrivacyEntr
import io.element.android.tests.testutils.lambda.lambdaError
class FakeSecurityAndPrivacyEntryPoint : SecurityAndPrivacyEntryPoint {
override fun createNode(parentNode: Node, buildContext: BuildContext): Node {
override fun createNode(
parentNode: Node,
buildContext: BuildContext,
callback: SecurityAndPrivacyEntryPoint.Callback,
): Node {
lambdaError()
}
}