Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab: Remove incoming invite badge count from panel icon (#53363)
Anthony Eidd2f0452fb079
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rsindex 1cff27ac6b2..c17cdc3d6e5 100644--- a/crates/collab_ui/src/collab_panel.rs+++ b/crates/collab_ui/src/collab_panel.rs@@ -3728,17 +3728,6 @@ impl Panel for CollabPanel {.then_some(ui::IconName::UserGroup)}- fn icon_label(&self, _window: &Window, cx: &App) -> Option<String> {- let user_store = self.user_store.read(cx);- let count = user_store.incoming_contact_requests().len()- + self.channel_store.read(cx).channel_invitations().len();- if count == 0 {- None- } else {- Some(count.to_string())- }- }-fn icon_tooltip(&self, _window: &Window, _cx: &App) -> Option<&'static str> {Some("Collab Panel")}