Remove call to removed method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user