Remove cx from ThemeSettings (#38836)
Before this change the active theme and icon theme were retrofitted onto the ThemeSettings. Now they're in their own new global (GlobalTheme::theme(cx) and GlobalTheme::icon_theme(cx)) This lets us remove cx from the settings traits, and tidy up a few other things along the way. Release Notes: - N/A
This commit is contained in:
@@ -302,7 +302,6 @@ mod tests {
|
||||
cx.set_global(settings_store);
|
||||
settings::init(cx);
|
||||
theme::init(theme::LoadThemes::JustBase, cx);
|
||||
ThemeSettings::register(cx);
|
||||
client::init_settings(cx);
|
||||
language::init(cx);
|
||||
super::init(cx);
|
||||
|
||||
Reference in New Issue
Block a user