Pārlūkot izejas kodu

refactor: compress Task.category picker

Sam Jaffe 2 nedēļas atpakaļ
vecāks
revīzija
df58fe5d53
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      Todos/View/TaskView.swift

+ 3 - 1
Todos/View/TaskView.swift

@@ -65,7 +65,9 @@ struct TaskView: View {
               ForEach(allGroups) { group in
                 Text(group.name)
               }
-            }.focused($isFocused)
+            }
+            .fixedSize(horizontal: true, vertical: false)
+            .focused($isFocused)
           }
         }
       }