Skip to content

Commit

Permalink
refactor/#345 코드 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
youz2me committed Aug 30, 2024
1 parent d5dc0c0 commit ef19462
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,12 @@ extension ChooseMemberViewController: UICollectionViewDataSource {
)
)

guard let isParticipant = viewModel.participantList?.value[indexPath.row].isParticipant else {
return cell
}

if isParticipant {
if let isParticipant = viewModel.participantList?.value[indexPath.row].isParticipant, isParticipant {
collectionView.selectItem(at: indexPath, animated: false, scrollPosition: [])
} else {
return cell
}


return cell
}
Expand Down

0 comments on commit ef19462

Please sign in to comment.