Skip to content

Commit c81f60b

Browse files
committed
ui: 카테고리를 옵션 쪽으로 병합
1 parent 7422716 commit c81f60b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

DevLog/UI/Home/TodoEditorView.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ struct TodoEditorView: View {
157157
private var editorInfoSheet: some View {
158158
NavigationStack {
159159
List {
160-
Section("카테고리") {
160+
Section("옵션") {
161161
Picker(
162162
"카테고리",
163163
selection: Binding(
@@ -166,13 +166,11 @@ struct TodoEditorView: View {
166166
)
167167
) {
168168
ForEach(TodoKind.allCases) { todoKind in
169-
Label(todoKind.localizedName, systemImage: todoKind.symbolName)
169+
Text(todoKind.localizedName)
170170
.tag(todoKind)
171171
}
172172
}
173-
}
174173

175-
Section("옵션") {
176174
Toggle(
177175
"중요 표시",
178176
isOn: Binding(
@@ -205,6 +203,7 @@ struct TodoEditorView: View {
205203
.padding(.vertical, 4)
206204
}
207205
}
206+
.alignmentGuide(.listRowSeparatorLeading) { $0[.leading] }
208207
}
209208
.navigationTitle("세부 정보")
210209
.navigationBarTitleDisplayMode(.inline)

0 commit comments

Comments
 (0)