From f26695ea8cd8f8211cd989abdd005e5fc3d6c829 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 11 Oct 2022 18:34:04 +0200 Subject: [PATCH] :lipstick: --- crates/collab_ui/src/contact_list.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/crates/collab_ui/src/contact_list.rs b/crates/collab_ui/src/contact_list.rs index c2736ea9d3..7b773240cf 100644 --- a/crates/collab_ui/src/contact_list.rs +++ b/crates/collab_ui/src/contact_list.rs @@ -776,8 +776,8 @@ impl ContactList { let header_style = theme.header_row.style_for(Default::default(), is_selected); let text = match section { - Section::ActiveCall => "Call", - Section::Requests => "Requests", + Section::ActiveCall => "Collaborators", + Section::Requests => "Contact Requests", Section::Online => "Online", Section::Offline => "Offline", }; @@ -785,7 +785,7 @@ impl ContactList { Some( MouseEventHandler::::new(0, cx, |state, _| { let style = theme.leave_call.style_for(state, false); - Label::new("Leave".into(), style.text.clone()) + Label::new("Leave Session".into(), style.text.clone()) .contained() .with_style(style.container) .boxed() @@ -1096,6 +1096,13 @@ impl View for ContactList { .on_click(MouseButton::Left, |_, cx| { cx.dispatch_action(contacts_popover::ToggleContactFinder) }) + .with_tooltip::( + 0, + "Add contact".into(), + None, + theme.tooltip.clone(), + cx, + ) .boxed(), ) .constrained()