Start on PeoplePanel::render
Co-Authored-By: Max Brunsfeld <max@zed.dev> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
Nathan Sobo
parent
67946b7224
commit
23652f2ba6
@@ -381,8 +381,10 @@ impl Workspace {
|
||||
);
|
||||
right_sidebar.add_item(
|
||||
"icons/user-16.svg",
|
||||
cx.add_view(|cx| PeoplePanel::new(app_state.user_store.clone(), cx))
|
||||
.into(),
|
||||
cx.add_view(|cx| {
|
||||
PeoplePanel::new(app_state.user_store.clone(), app_state.settings.clone(), cx)
|
||||
})
|
||||
.into(),
|
||||
);
|
||||
|
||||
let mut current_user = app_state.user_store.read(cx).watch_current_user().clone();
|
||||
|
||||
Reference in New Issue
Block a user