Remove Services menu on non-macOS systems (#36142)
Closes #ISSUE <img width="420" height="379" alt="image" src="https://github.com/user-attachments/assets/7125c504-508f-4eb1-b0c3-31830598c4a7" /> Release Notes: - Remove Services menu on non-macOS systems which was causing an empty menu item being rendered
This commit is contained in:
parent
389d24d7e5
commit
9be44517cb
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ pub fn app_menus() -> Vec<Menu> {
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
MenuItem::separator(),
|
MenuItem::separator(),
|
||||||
|
#[cfg(target_os = "macos")]
|
||||||
MenuItem::os_submenu("Services", gpui::SystemMenuType::Services),
|
MenuItem::os_submenu("Services", gpui::SystemMenuType::Services),
|
||||||
MenuItem::separator(),
|
MenuItem::separator(),
|
||||||
MenuItem::action("Extensions", zed_actions::Extensions::default()),
|
MenuItem::action("Extensions", zed_actions::Extensions::default()),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue