Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Disable sidebar if agent panel is disabled (#54713)
Max Brunsfeld8cd2d599ae36
diff --git a/crates/workspace/src/multi_workspace.rs b/crates/workspace/src/multi_workspace.rsindex c1802e797c9..7916646311d 100644--- a/crates/workspace/src/multi_workspace.rs+++ b/crates/workspace/src/multi_workspace.rs@@ -396,7 +396,7 @@ impl MultiWorkspace {}pub fn multi_workspace_enabled(&self, cx: &App) -> bool {- !DisableAiSettings::get_global(cx).disable_ai+ !DisableAiSettings::get_global(cx).disable_ai && AgentSettings::get_global(cx).enabled}pub fn toggle_sidebar(&mut self, window: &mut Window, cx: &mut Context<Self>) {