fix(appearance): theme mode settings not applied when changing theme mode
This commit is contained in:
parent
051bce21ac
commit
db1e1998b7
1 changed files with 3 additions and 0 deletions
|
|
@ -449,7 +449,10 @@ impl Page {
|
||||||
if let Err(err) = self.theme_mode.set_is_dark(config, enabled) {
|
if let Err(err) = self.theme_mode.set_is_dark(config, enabled) {
|
||||||
tracing::error!(?err, "Error setting dark mode");
|
tracing::error!(?err, "Error setting dark mode");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.reload_theme_mode();
|
||||||
}
|
}
|
||||||
|
|
||||||
Command::none()
|
Command::none()
|
||||||
}
|
}
|
||||||
Message::Autoswitch(enabled) => {
|
Message::Autoswitch(enabled) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue