Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add missing tooltip for contacts menu button

Max Brunsfeld40aee8d7bc2d
diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs
index e190deef84f..061de78b9f2 100644
--- a/crates/collab_ui/src/collab_titlebar_item.rs
+++ b/crates/collab_ui/src/collab_titlebar_item.rs
@@ -349,6 +349,13 @@ impl CollabTitlebarItem {
.on_click(MouseButton::Left, move |_, cx| {
cx.dispatch_action(ToggleContactsMenu);
})
+ .with_tooltip::<ToggleContactsMenu, _>(
+ 0,
+ "Show contacts menu".into(),
+ Some(Box::new(ToggleContactsMenu)),
+ theme.tooltip.clone(),
+ cx,
+ )
.aligned()
.boxed(),
)