Skip to content

Commit

Permalink
ANDROID-15323 Open tweaks as single top
Browse files Browse the repository at this point in the history
  • Loading branch information
yamal-alm committed Nov 8, 2024
1 parent 5ea6d9f commit 1fa4338
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/src/enabled/java/com/telefonica/tweaks/Tweaks.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ open class Tweaks : TweaksContract {
@Composable
fun NavController.navigateToTweaksOnShake() {
DetectShakeAndNavigate {
navigate(TWEAKS_NAVIGATION_ENTRYPOINT)
navigate(TWEAKS_NAVIGATION_ENTRYPOINT) {
launchSingleTop = true
}
}
}

Expand Down

0 comments on commit 1fa4338

Please sign in to comment.