Rename and toggle screenshare

This commit is contained in:
Mikayla Maki
2023-06-27 09:58:01 -07:00
parent b4f9faee3b
commit 37cb202c93
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ impl CollabTitlebarItem {
let titlebar = &theme.workspace.titlebar;
MouseEventHandler::<ToggleScreenSharing, Self>::new(0, cx, |state, _| {
let style = titlebar.call_control.style_for(state);
let style = titlebar.screen_share_button.style_for(state);
Svg::new(icon)
.with_color(style.color)
.constrained()
+1 -1
View File
@@ -133,7 +133,7 @@ pub struct Titlebar {
pub sign_in_prompt: Toggleable<Interactive<ContainedText>>,
pub outdated_warning: ContainedText,
pub share_button: Toggleable<Interactive<ContainedText>>,
pub call_control: Interactive<IconButton>,
pub screen_share_button: Toggleable<Interactive<IconButton>>,
pub toggle_contacts_button: Toggleable<Interactive<IconButton>>,
pub toggle_microphone_button: Toggleable<Interactive<IconButton>>,
pub toggle_speakers_button: Toggleable<Interactive<IconButton>>,