From b8e57af4340979bed458ba582b25568988ddb0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yamal=20C=C3=A9sar=20Al-Mahamid=20V=C3=A9lez?= Date: Fri, 8 Nov 2024 11:51:26 +0100 Subject: [PATCH] ANDROID-15323 Open tweaks as single top (#46) --- library/src/enabled/java/com/telefonica/tweaks/Tweaks.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/src/enabled/java/com/telefonica/tweaks/Tweaks.kt b/library/src/enabled/java/com/telefonica/tweaks/Tweaks.kt index 6419242..d89139e 100644 --- a/library/src/enabled/java/com/telefonica/tweaks/Tweaks.kt +++ b/library/src/enabled/java/com/telefonica/tweaks/Tweaks.kt @@ -95,7 +95,9 @@ open class Tweaks : TweaksContract { @Composable fun NavController.navigateToTweaksOnShake() { DetectShakeAndNavigate { - navigate(TWEAKS_NAVIGATION_ENTRYPOINT) + navigate(TWEAKS_NAVIGATION_ENTRYPOINT) { + launchSingleTop = true + } } }