diff --git a/crates/contacts_panel/src/contacts_panel.rs b/crates/contacts_panel/src/contacts_panel.rs index f2e3c64143..499d4d879c 100644 --- a/crates/contacts_panel/src/contacts_panel.rs +++ b/crates/contacts_panel/src/contacts_panel.rs @@ -62,10 +62,12 @@ pub fn init(cx: &mut MutableAppContext) { impl ContactsPanel { pub fn new(app_state: Arc, cx: &mut ViewContext) -> Self { let user_query_editor = cx.add_view(|cx| { - Editor::single_line( + let mut editor = Editor::single_line( Some(|theme| theme.contacts_panel.user_query_editor.clone()), cx, - ) + ); + editor.set_placeholder_text("Filter contacts", cx); + editor }); cx.subscribe(&user_query_editor, |this, _, event, cx| {