Skip to content

Commit

Permalink
refact/#301 셀 디데이 레이블 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaybei committed Aug 26, 2024
1 parent d83b3bf commit 15c78cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ final class UpcomingPromiseCollectionViewCell: BaseCollectionViewCell {

extension UpcomingPromiseCollectionViewCell {
func dataBind(_ contentData: UpcomingPromise, formattedTime: String, formattedDay: String) {
let dDayText = contentData.dDay == 0 ? "DAY" : "\(contentData.dDay)"
let dDayText = contentData.dDay == 0 ? "-DAY" : "\(contentData.dDay)"
dDayLabel.setText(
"D-\(dDayText)",
"D\(dDayText)",
style: .body05,
color: contentData.dDay == 0 ? .mainorange : .gray5
)
Expand Down

0 comments on commit 15c78cb

Please sign in to comment.