Skip to content

Commit

Permalink
fix: Fix theme feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Dec 15, 2024
1 parent d5b79ac commit de69500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/console/src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ impl<R: Reporter> Console<R> {
)
}

#[cfg(feature = "ui")]
pub fn theme(&self) -> ConsoleTheme {
self.theme.clone()
}
Expand Down Expand Up @@ -125,6 +126,7 @@ impl<R: Reporter> Clone for Console<R> {
out_handle: None,
quiet: self.quiet.clone(),
reporter: self.reporter.clone(),
#[cfg(feature = "ui")]
theme: self.theme.clone(),
}
}
Expand Down

0 comments on commit de69500

Please sign in to comment.