Add missing tooltip for contacts menu button

Co-authored-by: Joseph Lyons <joseph@zed.dev>
This commit is contained in:
Max Brunsfeld 2023-02-22 14:18:17 -08:00
parent d33d27faa4
commit 40aee8d7bc

View file

@ -349,6 +349,13 @@ impl CollabTitlebarItem {
.on_click(MouseButton::Left, move |_, cx| { .on_click(MouseButton::Left, move |_, cx| {
cx.dispatch_action(ToggleContactsMenu); cx.dispatch_action(ToggleContactsMenu);
}) })
.with_tooltip::<ToggleContactsMenu, _>(
0,
"Show contacts menu".into(),
Some(Box::new(ToggleContactsMenu)),
theme.tooltip.clone(),
cx,
)
.aligned() .aligned()
.boxed(), .boxed(),
) )