fix(desktop): add window_hint to config update transaction
This commit is contained in:
parent
e7acd48bd9
commit
2c07dd8bef
1 changed files with 3 additions and 5 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue