Rename {project_panel,contacts_panel}::Toggle to ToggleFocus

This commit is contained in:
Antonio Scandurra 2022-08-15 14:53:42 +02:00
parent 6dc0907745
commit 545f12362c
5 changed files with 12 additions and 8 deletions

View file

@ -242,11 +242,11 @@ pub fn menus() -> Vec<Menu<'static>> {
MenuItem::Separator,
MenuItem::Action {
name: "Project Panel",
action: Box::new(project_panel::Toggle),
action: Box::new(project_panel::ToggleFocus),
},
MenuItem::Action {
name: "Contacts Panel",
action: Box::new(contacts_panel::Toggle),
action: Box::new(contacts_panel::ToggleFocus),
},
MenuItem::Action {
name: "Command Palette",