@@ -76,7 +76,7 @@ final class CourseListCVC: UICollectionViewCell {
7676 $0. backgroundColor = . w1
7777 }
7878
79- private let selectIdicatorButton = UIButton ( type: . custom) . then {
79+ private let selectIndicatorButton = UIButton ( type: . custom) . then {
8080 $0. setImage ( ImageLiterals . icCheckFill, for: . selected)
8181 $0. setImage ( ImageLiterals . icCheck, for: . normal)
8282 $0. isSelected = false
@@ -115,19 +115,19 @@ extension CourseListCVC {
115115 if let didLike = didLike {
116116 self . likeButton. isSelected = didLike
117117 }
118- self . selectIdicatorButton . isHidden = !isEditMode
118+ self . selectIndicatorButton . isHidden = !isEditMode
119119 }
120120
121121 func selectCell( didSelect: Bool ) {
122122 if didSelect {
123123 courseImageView. layer. borderColor = UIColor . m1. cgColor
124124 courseImageView. layer. borderWidth = 2
125125 imageCoverView. isHidden = false
126- selectIdicatorButton . isSelected = true
126+ selectIndicatorButton . isSelected = true
127127 } else {
128128 courseImageView. layer. borderColor = UIColor . clear. cgColor
129129 imageCoverView. isHidden = true
130- selectIdicatorButton . isSelected = false
130+ selectIndicatorButton . isSelected = false
131131
132132 }
133133 }
@@ -153,7 +153,7 @@ extension CourseListCVC {
153153 }
154154
155155 private func setLayout( ) {
156- self . contentView. addSubviews ( courseImageView, imageCoverView, labelStackView, likeButton, selectIdicatorButton )
156+ self . contentView. addSubviews ( courseImageView, imageCoverView, labelStackView, likeButton, selectIndicatorButton )
157157
158158 courseImageView. snp. makeConstraints { make in
159159 make. leading. top. trailing. equalToSuperview ( )
@@ -172,7 +172,7 @@ extension CourseListCVC {
172172 make. height. equalTo ( 20 )
173173 }
174174
175- selectIdicatorButton . snp. makeConstraints { make in
175+ selectIndicatorButton . snp. makeConstraints { make in
176176 make. top. leading. equalToSuperview ( ) . inset ( 8 )
177177 make. leading. equalToSuperview ( ) . offset ( 8 )
178178 make. width. equalTo ( 20 )
0 commit comments