|
|
@@ -61,7 +61,7 @@ struct ProjectPanelView: View {
|
|
|
}
|
|
|
.buttonStyle(.borderless)
|
|
|
.popover(isPresented: $showDialogue) {
|
|
|
- List{
|
|
|
+ List {
|
|
|
Label("Settings", systemImage: "gearshape")
|
|
|
.font(.title)
|
|
|
Picker("Category", selection: $item.category) {
|
|
|
@@ -111,8 +111,8 @@ struct ProjectPanelView: View {
|
|
|
.moveDisabled(!move)
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- private func selected<T : Ordered & Filterable>(_ items: Binding<[T]>) -> [Binding<T>] {
|
|
|
+
|
|
|
+ private func selected<T: Ordered & Filterable>(_ items: Binding<[T]>) -> [Binding<T>] {
|
|
|
return items.sorted(by: T.less).filter({
|
|
|
let value = $0.wrappedValue
|
|
|
return value.name.isEmpty ||
|