]> git.r.bdr.sh - rbdr/map/blobdiff - Map/Views/MapApp.swift
Add sidebar menu
[rbdr/map] / 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()
+    }
   }
 }