Skip to content

Commit aa103e2

Browse files
committed
[#198] StarSummaryView로 네이밍 변경
1 parent ba3156b commit aa103e2

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

EATSSU/App/Sources/Presentation/Review/MainReviewView/Component/ReviewListTableViewCell.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class ReviewListTableViewCell: BaseTableViewCell {
2222

2323
// MARK: - UI Components
2424

25-
lazy var totalRateView = StarRatingView()
25+
lazy var totalRateView = StarSummaryView()
2626
lazy var reactionView = ReactionView()
2727

2828
private var dateLabel: UILabel = {

EATSSU/App/Sources/Presentation/Review/MainReviewView/Component/ReviewSummaryView.swift

+3-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class ReviewSummaryView: BaseUIView {
2424

2525
// MARK: 좌측
2626

27-
private var starRatingView = StarRatingView()
27+
private var starSummaryView = StarSummaryView()
2828
private let thumbupCountView = ThumbsCountView(thumbType: .up)
2929
private let thumbdownpCountView = ThumbsCountView(thumbType: .down)
3030

@@ -37,7 +37,7 @@ final class ReviewSummaryView: BaseUIView {
3737
}()
3838

3939
private lazy var ratingSummaryStackView: UIStackView = {
40-
let stackView = UIStackView(arrangedSubviews: [starRatingView, thumbCountStackView])
40+
let stackView = UIStackView(arrangedSubviews: [starSummaryView, thumbCountStackView])
4141
stackView.axis = .vertical
4242
stackView.alignment = .center
4343
stackView.spacing = 15
@@ -131,12 +131,8 @@ final class ReviewSummaryView: BaseUIView {
131131
make.horizontalEdges.equalToSuperview().inset(20.adjusted)
132132
make.bottom.equalToSuperview()
133133
}
134-
starRatingView.snp.makeConstraints { make in
134+
starSummaryView.snp.makeConstraints { make in
135135
make.top.equalToSuperview().offset(20.adjusted)
136136
}
137137
}
138138
}
139-
140-
extension ReviewSummaryView {
141-
142-
}

EATSSU/App/Sources/Presentation/Review/MainReviewView/Component/StarRatingView.swift renamed to EATSSU/App/Sources/Presentation/Review/MainReviewView/Component/StarSummaryView.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// StarRatingView.swift
2+
// StarSummaryView.swift
33
// EatSSU-iOS
44
//
55
// Created by 박윤빈 on 2023/06/29.
@@ -10,7 +10,7 @@ import UIKit
1010
import EATSSUDesign
1111
import SnapKit
1212

13-
final class StarRatingView: BaseUIView {
13+
final class StarSummaryView: BaseUIView {
1414

1515
// MARK: - UI Components
1616

0 commit comments

Comments
 (0)