mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
💄
This commit is contained in:
parent
ba6c5441c0
commit
f26695ea8c
1 changed files with 10 additions and 3 deletions
|
@ -776,8 +776,8 @@ impl ContactList {
|
||||||
|
|
||||||
let header_style = theme.header_row.style_for(Default::default(), is_selected);
|
let header_style = theme.header_row.style_for(Default::default(), is_selected);
|
||||||
let text = match section {
|
let text = match section {
|
||||||
Section::ActiveCall => "Call",
|
Section::ActiveCall => "Collaborators",
|
||||||
Section::Requests => "Requests",
|
Section::Requests => "Contact Requests",
|
||||||
Section::Online => "Online",
|
Section::Online => "Online",
|
||||||
Section::Offline => "Offline",
|
Section::Offline => "Offline",
|
||||||
};
|
};
|
||||||
|
@ -785,7 +785,7 @@ impl ContactList {
|
||||||
Some(
|
Some(
|
||||||
MouseEventHandler::<LeaveCall>::new(0, cx, |state, _| {
|
MouseEventHandler::<LeaveCall>::new(0, cx, |state, _| {
|
||||||
let style = theme.leave_call.style_for(state, false);
|
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()
|
.contained()
|
||||||
.with_style(style.container)
|
.with_style(style.container)
|
||||||
.boxed()
|
.boxed()
|
||||||
|
@ -1096,6 +1096,13 @@ impl View for ContactList {
|
||||||
.on_click(MouseButton::Left, |_, cx| {
|
.on_click(MouseButton::Left, |_, cx| {
|
||||||
cx.dispatch_action(contacts_popover::ToggleContactFinder)
|
cx.dispatch_action(contacts_popover::ToggleContactFinder)
|
||||||
})
|
})
|
||||||
|
.with_tooltip::<AddContact, _>(
|
||||||
|
0,
|
||||||
|
"Add contact".into(),
|
||||||
|
None,
|
||||||
|
theme.tooltip.clone(),
|
||||||
|
cx,
|
||||||
|
)
|
||||||
.boxed(),
|
.boxed(),
|
||||||
)
|
)
|
||||||
.constrained()
|
.constrained()
|
||||||
|
|
Loading…
Reference in a new issue