Skip to content

Commit

Permalink
fix(graphical): oops. Fix theme issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 4, 2024
1 parent 9596405 commit 8b46679
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,7 @@ impl MietteHandlerOpts {
let theme = self.theme.unwrap_or(GraphicalTheme { characters, styles });
let mut handler = GraphicalReportHandler::new_themed(theme)
.with_width(width)
.with_links(linkify)
.with_theme(theme);
.with_links(linkify);
handler.highlighter = highlighter;
if let Some(with_cause_chain) = self.with_cause_chain {
if with_cause_chain {
Expand Down

0 comments on commit 8b46679

Please sign in to comment.