Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Always show worktree trust, even if other title bar items are hidden with settings (#46606)
Kirill Bulatova75d3fc10c17
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rsindex 4390e23e6f3..ec70eff4211 100644--- a/crates/title_bar/src/title_bar.rs+++ b/crates/title_bar/src/title_bar.rs@@ -161,11 +161,11 @@ impl Render for TitleBar {title_bar.child(menu)},)+ .children(self.render_restricted_mode(cx)).when(render_project_items, |title_bar| {title_bar.when(title_bar_settings.show_project_items, |title_bar| {title_bar- .children(self.render_restricted_mode(cx)).children(self.render_project_host(cx)).child(self.render_project_name(cx))})