From 1fa43381a3c062e60d3153f6625eea094013efaf Mon Sep 17 00:00:00 2001 From: yamal Date: Fri, 8 Nov 2024 09:34:09 +0100 Subject: [PATCH] ANDROID-15323 Open tweaks as single top --- 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 + } } }