Remove call to removed method

This commit is contained in:
Nathan Sobo 2023-11-07 21:58:46 -07:00
parent 1949fa5147
commit 408edaae39

View file

@ -4,7 +4,6 @@ use workspace::ModalRegistry;
actions!(Toggle);
pub fn init(cx: &mut AppContext) {
cx.register_action_type::<Toggle>();
cx.global_mut::<ModalRegistry>()
.register_modal(Toggle, |_, cx| {
// if let Some(editor) = workspace