diff --git a/crates/notedeck_chrome/src/chrome.rs b/crates/notedeck_chrome/src/chrome.rs index 8195e7df..4ae2c068 100644 --- a/crates/notedeck_chrome/src/chrome.rs +++ b/crates/notedeck_chrome/src/chrome.rs @@ -51,10 +51,10 @@ impl ChromePanelAction { fn process(&self, ctx: &AppContext, chrome: &mut Chrome, ui: &mut egui::Ui) { match self { Self::SaveTheme(theme) => { - tracing::info!("Switching theme to {:?}", theme); ui.ctx().options_mut(|o| { o.theme_preference = *theme; }); + ctx.theme.save(*theme); } Self::Support => {