Skip to content

Commit

Permalink
✅ Chore: 커뮤니티 학과 필터 설정 후 다른 탭으로 이동 후 다시 돌아와도 필터 기능 적용되어있도록 코드 수정 (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangJi-dev committed Oct 26, 2022
1 parent 477e46b commit e784e5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ final class CommunityMainVC: BaseVC, View {
}

override func viewWillAppear(_ animated: Bool) {
reactor?.action.onNext(.requestNewCommunityList(type: PostFilterType(rawValue: communitySegmentedControl.selectedSegmentIndex) ?? .community))
reactor?.action.onNext(.requestNewCommunityList(majorID: reactor?.currentState.filterMajorID, type: PostFilterType(rawValue: communitySegmentedControl.selectedSegmentIndex) ?? .community, sort: "recent", search: ""))
}

func bind(reactor: CommunityMainReactor) {
Expand Down

0 comments on commit e784e5b

Please sign in to comment.