Skip to content

Commit

Permalink
chore: fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak committed May 12, 2024
1 parent 5fa6afe commit bf889c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1273,9 +1273,9 @@ impl TaskwarriorTui {
if tasks.iter().len() as u16 > rect.height.saturating_sub(4) {
let mut widget = Scrollbar::new(pos, tasks.iter().len());
widget.pos_style = self.config.uda_style_report_scrollbar;
widget.pos_symbol = self.config.uda_scrollbar_indicator.clone();
widget.pos_symbol.clone_from(&self.config.uda_scrollbar_indicator);
widget.area_style = self.config.uda_style_report_scrollbar_area;
widget.area_symbol = self.config.uda_scrollbar_area.clone();
widget.area_symbol.clone_from(&self.config.uda_scrollbar_area);
f.render_widget(widget, rect);
}
}
Expand Down

0 comments on commit bf889c7

Please sign in to comment.