Skip to content

Commit

Permalink
fix: Loading 이 아니면 구성 변경 시 축제 목록을 재요청하지 않는다
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongHoonC committed Nov 14, 2023
1 parent 7167c90 commit 3583d28
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ class FestivalListFragment : Fragment(R.layout.fragment_festival_list) {
initFestivalListSpanSize()
initRefresh()
initFestivalFilters()
loadFestivalsBy(binding.cgFilterOption.checkedChipId)
if (vm.uiState.value is FestivalListUiState.Loading) {
loadFestivalsBy(binding.cgFilterOption.checkedChipId)
}
}

private fun initFestivalListSpanSize() {
Expand Down

0 comments on commit 3583d28

Please sign in to comment.