mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
clippy fix
This commit is contained in:
parent
0d1e709abf
commit
8ae3caa1b2
1 changed files with 4 additions and 3 deletions
|
|
@ -104,9 +104,10 @@ impl Theme {
|
|||
}
|
||||
|
||||
pub fn diff_hunk_marker(&self, selected: bool) -> Style {
|
||||
match selected {
|
||||
false => Style::default().fg(self.disabled_fg),
|
||||
true => Style::default().bg(self.selection_bg),
|
||||
if selected {
|
||||
Style::default().bg(self.selection_bg)
|
||||
} else {
|
||||
Style::default().fg(self.disabled_fg)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue