]> git.r.bdr.sh - rbdr/map/commitdiff
Add sidebar menu
authorRuben Beltran del Rio <redacted>
Thu, 4 Feb 2021 23:10:38 +0000 (00:10 +0100)
committerRuben Beltran del Rio <redacted>
Thu, 4 Feb 2021 23:10:38 +0000 (00:10 +0100)
Map/Views/MapApp.swift

index 0f8ae64f553e9a1d43ffdbe683c2554defc13849..a0e2d60fc0a7fb52d9fd72307558b31ca67dfdfd 100644 (file)
@@ -16,6 +16,8 @@ struct MapApp: App {
       ContentView()
         .environment(\.managedObjectContext, persistenceController.container.viewContext)
         .environmentObject(AppStore(initialState: AppState(), reducer: appStateReducer))
-    }.windowStyle(HiddenTitleBarWindowStyle())
+    }.windowStyle(HiddenTitleBarWindowStyle()).commands {
+      SidebarCommands()
+    }
   }
 }