From: Ruben Beltran del Rio Date: Thu, 4 Feb 2021 23:10:38 +0000 (+0100) Subject: Add sidebar menu X-Git-Tag: 1.2.0~2 X-Git-Url: https://git.r.bdr.sh/rbdr/map/commitdiff_plain/144167621e845b05df55a9f2f00c4bc270d42b55?ds=sidebyside;hp=77d0155b661e813a85a7312ed809fc7e5a9f7440 Add sidebar menu --- diff --git a/Map/Views/MapApp.swift b/Map/Views/MapApp.swift index 0f8ae64..a0e2d60 100644 --- a/Map/Views/MapApp.swift +++ b/Map/Views/MapApp.swift @@ -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() + } } }