Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab_ui: Show signed-out state when not connected to Collab (#35832)
Marshall Bowersd110459ef861
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rsindex bb7c2ba1cd5..51e4ff8965e 100644--- a/crates/collab_ui/src/collab_panel.rs+++ b/crates/collab_ui/src/collab_panel.rs@@ -3053,7 +3053,7 @@ impl Render for CollabPanel {.on_action(cx.listener(CollabPanel::move_channel_down)).track_focus(&self.focus_handle).size_full()- .child(if self.user_store.read(cx).current_user().is_none() {+ .child(if !self.client.status().borrow().is_connected() {self.render_signed_out(cx)} else {self.render_signed_in(window, cx)