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.

Remove unused API

Mikayla145f3f55e9bc
diff --git a/crates/activity_indicator/src/activity_indicator.rs b/crates/activity_indicator/src/activity_indicator.rs
index 4b990fa430c..d04a5ab319f 100644
--- a/crates/activity_indicator/src/activity_indicator.rs
+++ b/crates/activity_indicator/src/activity_indicator.rs
@@ -77,9 +77,6 @@ impl ActivityIndicator {
cx.observe(auto_updater, |_, _, cx| cx.notify()).detach();
}
- // cx.observe_active_labeled_tasks(|_, cx| cx.notify())
- // .detach();
-
Self {
statuses: Default::default(),
project: project.clone(),
@@ -288,15 +285,6 @@ impl ActivityIndicator {
};
}
- // todo!(show active tasks)
- // if let Some(most_recent_active_task) = cx.active_labeled_tasks().last() {
- // return Content {
- // icon: None,
- // message: most_recent_active_task.to_string(),
- // on_click: None,
- // };
- // }
-
Default::default()
}
}