Refactor opening workspace items

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2022-01-07 17:38:37 +01:00
co-authored by Nathan Sobo
parent 3cab32d201
commit 794d214eee
15 changed files with 281 additions and 257 deletions
+1
View File
@@ -10,6 +10,7 @@ path = "src/project_panel.rs"
gpui = { path = "../gpui" }
project = { path = "../project" }
theme = { path = "../theme" }
util = { path = "../util" }
workspace = { path = "../workspace" }
postage = { version = "0.4.1", features = ["futures-traits"] }
+1 -1
View File
@@ -131,7 +131,7 @@ impl ProjectPanel {
},
cx,
)
.map(|t| t.detach());
.detach_and_log_err(cx);
}
}
}