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.
This commit is contained in:
Sanjeev Shrestha 2025-02-14 18:59:00 +05:45 committed by GitHub
parent 3b91de8003
commit 79ee01eb14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -474,7 +474,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()));
}
}