Hide library menus on macOS

This commit is contained in:
Balazs Perlaki-Horvath 2023-12-03 11:44:15 +01:00
parent 1c7b6edcce
commit 1a6e2e95e6

View File

@ -86,8 +86,10 @@ struct SidebarNavigationCommands: View {
var body: some View {
buildButtons([.reading, .bookmarks], modifiers: [.command])
Divider()
buildButtons([.opened, .categories, .downloads, .new], modifiers: [.command, .control])
if FeatureFlags.hasLibrary {
Divider()
buildButtons([.opened, .categories, .downloads, .new], modifiers: [.command, .control])
}
}
private func buildButtons(_ navigationItems: [NavigationItem], modifiers: EventModifiers = []) -> some View {