Skip to content

Commit

Permalink
[QA] 탭 이동 시 백스택 제거하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ze-zeh committed Oct 3, 2024
1 parent 37c15ef commit da8f636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/team/ppac/navigation/FarmemeNavHost.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ fun FarmemeNavHost(
fun NavHostController.navigateToTopLevelDestination(topLevelDestination: FarmemeTopDestination) {
val topLevelNavOptions = navOptions {
popUpTo(this@navigateToTopLevelDestination.graph.findStartDestination().id) {
saveState = true
saveState = false
}
launchSingleTop = true
restoreState = true
launchSingleTop = false
restoreState = false
}

when (topLevelDestination) {
Expand Down

0 comments on commit da8f636

Please sign in to comment.