mirror of https://github.com/zkat/miette.git
fix(graphical): oops. Fix theme issue
This commit is contained in:
parent
9596405554
commit
8b46679c36
|
|
@ -311,8 +311,7 @@ impl MietteHandlerOpts {
|
||||||
let theme = self.theme.unwrap_or(GraphicalTheme { characters, styles });
|
let theme = self.theme.unwrap_or(GraphicalTheme { characters, styles });
|
||||||
let mut handler = GraphicalReportHandler::new_themed(theme)
|
let mut handler = GraphicalReportHandler::new_themed(theme)
|
||||||
.with_width(width)
|
.with_width(width)
|
||||||
.with_links(linkify)
|
.with_links(linkify);
|
||||||
.with_theme(theme);
|
|
||||||
handler.highlighter = highlighter;
|
handler.highlighter = highlighter;
|
||||||
if let Some(with_cause_chain) = self.with_cause_chain {
|
if let Some(with_cause_chain) = self.with_cause_chain {
|
||||||
if with_cause_chain {
|
if with_cause_chain {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue