Move people panel up

Antonio Scandurra and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

zed/src/workspace.rs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

Detailed changes

zed/src/workspace.rs 🔗

@@ -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();