title_bar: Remove dependency on command_palette (#21006)
This PR removes the `title_bar` crate's dependency on the `command_palette`. The `command_palette::Toggle` action now resides at `zed_actions::command_palette::Toggle`. Release Notes: - N/A
This commit is contained in:
@@ -18,7 +18,10 @@ impl Render for ApplicationMenu {
|
||||
.menu(move |cx| {
|
||||
ContextMenu::build(cx, move |menu, cx| {
|
||||
menu.header("Workspace")
|
||||
.action("Open Command Palette", Box::new(command_palette::Toggle))
|
||||
.action(
|
||||
"Open Command Palette",
|
||||
Box::new(zed_actions::command_palette::Toggle),
|
||||
)
|
||||
.when_some(cx.focused(), |menu, focused| menu.context(focused))
|
||||
.custom_row(move |cx| {
|
||||
h_flex()
|
||||
|
||||
Reference in New Issue
Block a user