title_bar: Remove dependency on theme_selector (#21009)

This PR removes the `title_bar` crate's dependency on the
`theme_selector`.

The `theme_selector::Toggle` action now resides at
`zed_actions::theme_selector::Toggle`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-11-21 14:33:58 -05:00
committed by GitHub
parent f62ccf9c8a
commit 6b2f1cc543
8 changed files with 31 additions and 16 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ pub fn app_menus() -> Vec<Menu> {
zed_actions::OpenDefaultKeymap,
),
MenuItem::action("Open Project Settings", super::OpenProjectSettings),
MenuItem::action("Select Theme...", theme_selector::Toggle::default()),
MenuItem::action(
"Select Theme...",
zed_actions::theme_selector::Toggle::default(),
),
],
}),
MenuItem::separator(),