fix(graphical): oops. Fix theme issue

This commit is contained in:
Kat Marchán 2024-02-03 20:12:46 -08:00
parent 9596405554
commit 8b46679c36
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 1 additions and 2 deletions

View File

@ -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 {