Skip to content

Commit

Permalink
♻️ ktFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
ii2001 committed Oct 23, 2024
1 parent b4c4e6d commit a9cd32c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ class MainActivity : AppCompatActivity() {
supportFragmentManager.findFragmentById(R.id.nav_host) as NavHostFragment
navController = navHostFragment.navController

// 리스너 중복 추가 방지
navController.removeOnDestinationChangedListener(destinationChangedListener)
navController.addOnDestinationChangedListener(destinationChangedListener)

// 현재 목적지에 따라 바텀 네비게이션 바 가시성 업데이트
updateBottomNavVisibility(navController.currentDestination)
}

Expand Down

0 comments on commit a9cd32c

Please sign in to comment.