Skip to content

Commit

Permalink
ANDROID-15323 Open tweaks as single top (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamal-alm authored Nov 8, 2024
1 parent 5ea6d9f commit b8e57af
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 b8e57af

Please sign in to comment.