mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-26 05:18:31 -04:00
Hide library menus on macOS
This commit is contained in:
parent
1c7b6edcce
commit
1a6e2e95e6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user