Present a blank notification upon receipt of a contact request
This commit is contained in:
parent
bd2ae304fa
commit
3bca1c29e2
5 changed files with 90 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue