diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index 1fc4813157f8e64a4e51cc570b906b3a2d456002..d8476555f555134a78d06d9d22970fb3a111b2ea 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -5158,7 +5158,9 @@ impl GitPanel { }), ) }) - .child(git_status_icon(status)) + .when(status_style != StatusStyle::LabelColor, |el| { + el.child(git_status_icon(status)) + }) .map(|this| { if tree_view { this.pl(px(depth as f32 * TREE_INDENT)).child(