Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab_ui: Re-enable deafening and screen share on Mac (#13040)
Piotr Osiewicz902d7150feb3
diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rsindex 2167fc88cfe..5972008662c 100644--- a/crates/collab_ui/src/collab_titlebar_item.rs+++ b/crates/collab_ui/src/collab_titlebar_item.rs@@ -276,7 +276,7 @@ impl Render for CollabTitlebarItem {.selected_style(ButtonStyle::Tinted(TintColor::Negative)).icon_size(IconSize::Small).selected(is_deafened)- .disabled(cfg!(not(target_os = "linux")))+ .disabled(!platform_supported).tooltip(move |cx| {if !platform_supported {Tooltip::text("Cannot share microphone", cx)@@ -299,7 +299,7 @@ impl Render for CollabTitlebarItem {.style(ButtonStyle::Subtle).icon_size(IconSize::Small).selected(is_screen_sharing)- .disabled(cfg!(not(target_os = "linux")))+ .disabled(!platform_supported).selected_style(ButtonStyle::Tinted(TintColor::Accent)).tooltip(move |cx| {Tooltip::text(