Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix zed2 compile error

Joseph T. Lyonsdb3f48747420
diff --git a/crates/zed2/src/main.rs b/crates/zed2/src/main.rs
index aacb3ed83cf..0f6075f62ec 100644
--- a/crates/zed2/src/main.rs
+++ b/crates/zed2/src/main.rs
@@ -177,7 +177,7 @@ fn main() {
// .detach();
client.telemetry().start(installation_id, session_id, cx);
- let telemetry_settings = *settings::get::<TelemetrySettings>(cx);
+ let telemetry_settings = *client::TelemetrySettings::get_global(cx);
let event_operation = match existing_installation_id_found {
Some(true) => "open",
_ => "first open",