Pass AppState to workspace:join_worktree

This commit is contained in:
Antonio Scandurra 2021-07-12 17:02:22 +02:00
parent ccff27a157
commit a661b43e75

View file

@ -25,7 +25,7 @@ pub fn menus(state: &Arc<AppState>) -> Vec<Menu<'static>> {
name: "Join",
keystroke: None,
action: "workspace:join_worktree",
arg: None,
arg: Some(Box::new(state.clone())),
},
MenuItem::Action {
name: "Quit",