Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

collab_ui: Fix inconsistent channel icons in collab panel (#62114)

Xin Zhao381953d44897
diff --git a/crates/collab_ui/src/channel_view.rs b/crates/collab_ui/src/channel_view.rs
index bcc91ac0931..c77846d6db2 100644
--- a/crates/collab_ui/src/channel_view.rs
+++ b/crates/collab_ui/src/channel_view.rs
@@ -457,8 +457,8 @@ impl Item for ChannelView {
fn tab_icon(&self, _: &Window, cx: &App) -> Option<Icon> {
let channel = self.channel(cx)?;
let icon = match channel.visibility {
- ChannelVisibility::Public => IconName::Public,
- ChannelVisibility::Members => IconName::Hash,
+ ChannelVisibility::Public => IconName::Hash,
+ ChannelVisibility::Members => IconName::Lock,
};
Some(Icon::new(icon))