Present a blank notification upon receipt of a contact request

This commit is contained in:
Nathan Sobo 2022-05-10 18:33:39 -06:00
parent bd2ae304fa
commit 3bca1c29e2
5 changed files with 90 additions and 21 deletions

View file

@ -172,7 +172,8 @@ pub fn build_workspace(
});
let project_panel = ProjectPanel::new(project, cx);
let contact_panel = cx.add_view(|cx| ContactsPanel::new(app_state.clone(), cx));
let contact_panel =
cx.add_view(|cx| ContactsPanel::new(app_state.clone(), workspace.weak_handle(), cx));
workspace.left_sidebar().update(cx, |sidebar, cx| {
sidebar.add_item("icons/folder-tree-solid-14.svg", project_panel.into(), cx)