Skip to content

Commit

Permalink
Merge branch 'Peltoche:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
TruncatedDinoSour authored Nov 16, 2022
2 parents d6f12ce + c2cf835 commit ea7c1a7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ impl Elem {
Elem::FileLarge => theme.size.large,
Elem::FileMedium => theme.size.medium,
Elem::FileSmall => theme.size.small,
Elem::INode { valid: false } => theme.inode.valid,
Elem::INode { valid: true } => theme.inode.invalid,
Elem::INode { valid: true } => theme.inode.valid,
Elem::INode { valid: false } => theme.inode.invalid,
Elem::TreeEdge => theme.tree_edge,
Elem::Links { valid: false } => theme.links.invalid,
Elem::Links { valid: true } => theme.links.valid,
Expand Down Expand Up @@ -227,10 +227,6 @@ impl Colors {
Elem::CharDevice => Some("cd"),
Elem::BrokenSymLink => Some("or"),
Elem::MissingSymLinkTarget => Some("mi"),
Elem::INode { valid } | Elem::Links { valid } => match valid {
true => Some("so"),
false => Some("no"),
},
_ => None,
};

Expand Down

0 comments on commit ea7c1a7

Please sign in to comment.