mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 18:41:10 +00:00
Proceed with share while project state uploads
Co-authored-by: Antonio Scandurra <as-cii@zed.dev>
This commit is contained in:
parent
a656047c15
commit
1f0a9ce418
1 changed files with 5 additions and 5 deletions
|
@ -398,11 +398,11 @@ impl Room {
|
|||
cx.spawn(|this, mut cx| async move {
|
||||
let response = request.await?;
|
||||
|
||||
project
|
||||
.update(&mut cx, |project, cx| {
|
||||
project.shared(response.project_id, cx)
|
||||
})
|
||||
.await?;
|
||||
project.update(&mut cx, |project, cx| {
|
||||
project
|
||||
.shared(response.project_id, cx)
|
||||
.detach_and_log_err(cx)
|
||||
});
|
||||
|
||||
// If the user's location is in this project, it changes from UnsharedProject to SharedProject.
|
||||
this.update(&mut cx, |this, cx| {
|
||||
|
|
Loading…
Reference in a new issue