theme: Fix icon theme switching changing the theme (cherry-pick #24849) (#24864)
gcp-cherry-pick-bot[bot]
and
Sanjeev Shrestha
created
Cherry-picked theme: Fix icon theme switching changing the theme
(#24849)
Closes #24846
Release Notes:
- Fixed an issue where changing the icon theme would change the theme.
Co-authored-by: Sanjeev Shrestha <sethstha@gmail.com>
Change summary
crates/theme/src/settings.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -463,7 +463,7 @@ impl ThemeSettingsContent {
*icon_theme_to_update = icon_theme_name.to_string();
} else {
- self.theme = Some(ThemeSelection::Static(icon_theme_name.to_string()));
+ self.icon_theme = Some(IconThemeSelection::Static(icon_theme_name.to_string()));
}
}