From 144167621e845b05df55a9f2f00c4bc270d42b55 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 5 Feb 2021 00:10:38 +0100 Subject: Add sidebar menu --- Map/Views/MapApp.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() + } } } -- cgit