fix(desktop): add window_hint to config update transaction

This commit is contained in:
Michael Aaron Murphy 2024-09-19 00:59:08 +02:00
parent e7acd48bd9
commit 2c07dd8bef
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -457,13 +457,10 @@ impl Page {
let color = self.accent_window_hint.get_applied_color().map(Srgb::from); let color = self.accent_window_hint.get_applied_color().map(Srgb::from);
if self needs_build = self
.theme_builder .theme_builder
.set_window_hint(config, color.clone()) .set_window_hint(config, color.clone())
.unwrap_or_default() .unwrap_or_default();
{
self.theme_config_write("window_hint", color)
}
} }
} }
@ -1017,6 +1014,7 @@ impl Page {
text_button; text_button;
warning; warning;
warning_button; warning_button;
window_hint;
}); });
Message::NewTheme(new_theme).into() Message::NewTheme(new_theme).into()