Skip to content

Commit

Permalink
fix: TOP-85 위치 다이얼로그 앱 죽는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kwangddang committed Sep 18, 2023
1 parent c57c747 commit a814693
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ class LocationFragment : SignupRootBaseFragment<LocationViewModel, FragmentLocat
locationPermissionGrantEvent.launch(Manifest.permission.ACCESS_FINE_LOCATION)
}
LocationViewModel.LocationSideEffect.ShowLocationDialog -> {
findNavController().navigate(
LocationFragmentDirections.actionLocationFragmentToLocationDialogFragment()
)
if (findNavController().currentDestination?.id == tht.feature.signin.R.id.locationFragment) {
findNavController().navigate(
LocationFragmentDirections.actionLocationFragmentToLocationDialogFragment()
)
}
}
LocationViewModel.LocationSideEffect.NavigateNextView -> {
rootViewModel.nextEvent(SignupRootViewModel.Step.LOCATION)
Expand Down

0 comments on commit a814693

Please sign in to comment.