aboutsummaryrefslogtreecommitdiff
path: root/Map
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-02-05 00:10:38 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-02-05 00:10:38 +0100
commit144167621e845b05df55a9f2f00c4bc270d42b55 (patch)
tree905cd594b2eb938d2fc8b07f4f41ca336fcb9a10 /Map
parent77d0155b661e813a85a7312ed809fc7e5a9f7440 (diff)
Add sidebar menu
Diffstat (limited to 'Map')
-rw-r--r--Map/Views/MapApp.swift4
1 files changed, 3 insertions, 1 deletions
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()
+ }
}
}