Skip to content

Commit

Permalink
minor PR cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mordquist committed Mar 24, 2024
1 parent c083499 commit a0d141a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ impl Tunables {
open_command: self.open_command,
notifications: self.notifications.unwrap_or_default(),
image_preview: self.image_preview.map(ImagePreview::values),
user_gutter_width: self.user_gutter_width.unwrap_or(30 as usize),
user_gutter_width: self.user_gutter_width.unwrap_or(30),
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions src/message/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,6 @@ impl<'a> MessageFormatter<'a> {
text.lines.push(Line::from(vec![leading, date, trailing]));
}

let user_gutter_empty = std::iter::repeat(' ')
.take(self.settings.tunables.user_gutter_width)
.collect::<String>();
let user_gutter_empty_span = space_span(self.settings.tunables.user_gutter_width, Style::default());

match self.cols {
Expand Down

0 comments on commit a0d141a

Please sign in to comment.