Skip to content

Commit

Permalink
fix: 지역별 필터 선택 해제 버그 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyCh0 committed May 18, 2024
1 parent 8ad0d77 commit ac38024
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ class FestivalListFragment : Fragment() {
items = schoolRegions
listener = object : RegionBottomSheetDialogFragment.OnRegionSelectListener {
override fun onRegionSelect(region: SchoolRegion) {
vm.loadFestivals(festivalFilter, region)
vm.loadFestivals(
festivalFilterUiState = festivalFilter,
schoolRegion = if (region == schoolRegion) null else region,
)
}
}
}
Expand Down

0 comments on commit ac38024

Please sign in to comment.