Match priority of folder highlights to vscode

This commit is contained in:
Mikayla Maki 2023-05-13 02:30:59 -07:00
parent 41bef2e444
commit 62c445da57
No known key found for this signature in database

View file

@ -195,10 +195,10 @@ impl RepositoryEntry {
(GitFileStatus::Conflict, _) | (_, GitFileStatus::Conflict) => { (GitFileStatus::Conflict, _) | (_, GitFileStatus::Conflict) => {
&GitFileStatus::Conflict &GitFileStatus::Conflict
} }
(GitFileStatus::Added, _) | (_, GitFileStatus::Added) => { (GitFileStatus::Modified, _) | (_, GitFileStatus::Modified) => {
&GitFileStatus::Added &GitFileStatus::Modified
} }
_ => &GitFileStatus::Modified, _ => &GitFileStatus::Added,
}, },
) )
.copied() .copied()