Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove commented-out label code
Marshall Bowers9c8220d04ec4
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rsindex 4fbef2e6c1d..b30ec0b7f82 100644--- a/crates/workspace2/src/pane.rs+++ b/crates/workspace2/src/pane.rs@@ -1355,22 +1355,6 @@ impl Pane {cx: &mut ViewContext<'_, Pane>,) -> impl Component<Self> {let label = item.tab_content(Some(detail), cx);-- // let label = match (self.git_status, is_deleted) {- // (_, true) | (GitStatus::Deleted, false) => Label::new(self.title.clone())- // .color(LabelColor::Hidden)- // .set_strikethrough(true),- // (GitStatus::None, false) => Label::new(self.title.clone()),- // (GitStatus::Created, false) => {- // Label::new(self.title.clone()).color(LabelColor::Created)- // }- // (GitStatus::Modified, false) => {- // Label::new(self.title.clone()).color(LabelColor::Modified)- // }- // (GitStatus::Renamed, false) => Label::new(self.title.clone()).color(LabelColor::Accent),- // (GitStatus::Conflict, false) => Label::new(self.title.clone()),- // };-let close_icon = || IconElement::new(Icon::Close).color(IconColor::Muted);let (tab_bg, tab_hover_bg, tab_active_bg) = match ix == self.active_item_index {