diff --git a/crates/editor/src/items.rs b/crates/editor/src/items.rs index 3ff4d7da4eb654cfe48a223afe2906294fd77c31..df5e43fc8c10856d803316b067e9347a75bfbf35 100644 --- a/crates/editor/src/items.rs +++ b/crates/editor/src/items.rs @@ -1917,14 +1917,14 @@ pub fn entry_diagnostic_aware_icon_decoration_and_color( pub fn entry_git_aware_label_color(git_status: GitSummary, ignored: bool, selected: bool) -> Color { let tracked = git_status.index + git_status.worktree; - if ignored { - Color::Ignored - } else if git_status.conflict > 0 { + if git_status.conflict > 0 { Color::Conflict } else if tracked.modified > 0 { Color::Modified } else if tracked.added > 0 || git_status.untracked > 0 { Color::Created + } else if ignored { + Color::Ignored } else { entry_label_color(selected) }