Fix dock opening on collaboration

This commit is contained in:
Mikayla Maki 2023-03-13 09:36:45 -07:00
parent c6f27903cc
commit 404dd43c30

View file

@ -750,7 +750,7 @@ impl Workspace {
cx.defer(move |_, cx| { cx.defer(move |_, cx| {
Self::load_from_serialized_workspace(weak_handle, serialized_workspace, cx) Self::load_from_serialized_workspace(weak_handle, serialized_workspace, cx)
}); });
} else { } else if project.read(cx).is_local() {
if cx.global::<Settings>().default_dock_anchor != DockAnchor::Expanded { if cx.global::<Settings>().default_dock_anchor != DockAnchor::Expanded {
Dock::show(&mut this, false, cx); Dock::show(&mut this, false, cx);
} }