fix(appearance): theme mode settings not applied when changing theme mode

This commit is contained in:
Michael Aaron Murphy 2024-04-16 22:16:59 +02:00 committed by Michael Murphy
parent 051bce21ac
commit db1e1998b7

View file

@ -449,7 +449,10 @@ impl Page {
if let Err(err) = self.theme_mode.set_is_dark(config, enabled) {
tracing::error!(?err, "Error setting dark mode");
}
self.reload_theme_mode();
}
Command::none()
}
Message::Autoswitch(enabled) => {