Skip to content

Commit

Permalink
[Feat] #252 - 달성 여부에 따른 취소선 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Apr 22, 2024
1 parent 9ecc260 commit db17a85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions iOS-NOTTODO/Widget-NOTTODO/View/MediumFamily.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ struct MediumFamily: View {

Text(task.title)
.foregroundStyle(task.completionStatus == .CHECKED ? .gray4 : .ntdBlack)
.strikethrough(task.completionStatus == .CHECKED, color: .gray4)
.font(.custom("Pretendard-Regular", size: 11))
.fontWeight(.regular)
Spacer()
Expand Down
1 change: 1 addition & 0 deletions iOS-NOTTODO/Widget-NOTTODO/View/SmallFamily.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ struct SmallFamily: View {

Text(task.title)
.foregroundStyle(task.completionStatus == .CHECKED ? .gray4 : .ntdBlack)
.strikethrough(task.completionStatus == .CHECKED, color: .gray4)
.font(.custom("Pretendard-Regular", size: 8))
.fontWeight(.regular)
.lineLimit(2)
Expand Down

0 comments on commit db17a85

Please sign in to comment.