mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-18 18:08:07 +03:00
collab_ui: Re-enable deafening and screen share on Mac (#13040)
Fixes regression from https://github.com/zed-industries/zed/pull/12994 Release Notes: - N/A
This commit is contained in:
parent
55ba80ddd1
commit
902d7150fe
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user