Move sidebar-specific code out of Workspace

This commit is contained in:
Antonio Scandurra 2021-10-05 10:37:40 +02:00
parent 36594ecf1d
commit 5105596918
9 changed files with 305 additions and 256 deletions

View file

@ -33,7 +33,7 @@ pub fn menus(state: &Arc<AppState>) -> Vec<Menu<'static>> {
MenuItem::Action {
name: "Open…",
keystroke: Some("cmd-o"),
action: Box::new(workspace::Open(state.clone())),
action: Box::new(crate::Open(state.clone())),
},
],
},