co-authored by
Nathan Sobo
parent
23d77e2b9f
commit
6120ce3747
@@ -375,6 +375,13 @@ impl Workspace {
|
||||
);
|
||||
|
||||
let mut right_sidebar = Sidebar::new(Side::Right);
|
||||
right_sidebar.add_item(
|
||||
"icons/user-16.svg",
|
||||
cx.add_view(|cx| {
|
||||
PeoplePanel::new(app_state.user_store.clone(), app_state.settings.clone(), cx)
|
||||
})
|
||||
.into(),
|
||||
);
|
||||
right_sidebar.add_item(
|
||||
"icons/comment-16.svg",
|
||||
cx.add_view(|cx| {
|
||||
@@ -387,13 +394,6 @@ impl Workspace {
|
||||
})
|
||||
.into(),
|
||||
);
|
||||
right_sidebar.add_item(
|
||||
"icons/user-16.svg",
|
||||
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();
|
||||
let mut connection_status = app_state.rpc.status().clone();
|
||||
|
||||
Reference in New Issue
Block a user