Skip to content

Commit

Permalink
[Fix] #198 - CoingKeys 및 린트 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongdung-eo committed Nov 26, 2023
1 parent c6f8999 commit 084de48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,10 @@ struct DailyMissionResponseDTO: Codable, Hashable {
let completionStatus: CompletionStatus

enum CodingKeys: String, CodingKey {

case id = "id"
case title = "title"
case situationName = "situationName"
case completionStatus = "completionStatus"
case id, title, situationName, completionStatus
}

static func == (lhs: DailyMissionResponseDTO, rhs: DailyMissionResponseDTO) -> Bool {
lhs.uuid == rhs.uuid
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,14 @@ extension CalendarView {
config.image = .icBackToday
config.title = I18N.todayButton
config.imagePadding = 2
config.contentInsets = NSDirectionalEdgeInsets.init(top: 3, leading: 6, bottom: 2, trailing:7)
config.cornerStyle = .capsule
config.attributedTitle?.font = .Pretendard(.regular, size: 14)
config.baseBackgroundColor = .gray2
config.baseForegroundColor = .gray5
config.contentInsets = NSDirectionalEdgeInsets.init(top: 3,
leading: 6,
bottom: 2,
trailing: 7)

$0.configuration = config
$0.addTarget(self, action: #selector(todayBtnTapped), for: .touchUpInside)
Expand Down

0 comments on commit 084de48

Please sign in to comment.