From 14ef0edd7ffc4fe1b51e754682457816c99ae585 Mon Sep 17 00:00:00 2001 From: Julia Date: Mon, 17 Apr 2023 14:13:28 -0400 Subject: [PATCH] Don't have contacts popover affect appearance of Share/Unshare button --- crates/collab_ui/src/collab_titlebar_item.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs index 5e992ae559..b0b734f9cf 100644 --- a/crates/collab_ui/src/collab_titlebar_item.rs +++ b/crates/collab_ui/src/collab_titlebar_item.rs @@ -459,9 +459,7 @@ impl CollabTitlebarItem { .with_child( MouseEventHandler::::new(0, cx, |state, _| { //TODO: Ensure this button has consistant width for both text variations - let style = titlebar - .share_button - .style_for(state, self.contacts_popover.is_some()); + let style = titlebar.share_button.style_for(state, false); Label::new(label, style.text.clone()) .contained() .with_style(style.container)