Skip to content

Commit b05b559

Browse files
authored
ui: Tag 컴포넌트 재활용 (#109)
1 parent f04b479 commit b05b559

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

DevLog/UI/Home/TodoDetailView.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@ struct TodoDetailView: View {
4040
ScrollView(.horizontal) {
4141
HStack {
4242
ForEach(todo.tags, id: \.self) { tag in
43-
Text(tag)
44-
.padding(.horizontal, 8)
45-
.background(
46-
Capsule()
47-
.fill(Color(UIColor.systemFill))
48-
)
43+
Tag(tag, isEditing: false)
4944
}
5045
}
5146
}

0 commit comments

Comments
 (0)