From a4bc599754baa87414520ecc7d453562aeb9d442 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2025 08:37:20 -0500 Subject: [PATCH] theme: Fix icon theme switching changing the theme (cherry-pick #24849) (#24864) 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 --- crates/theme/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/theme/src/settings.rs b/crates/theme/src/settings.rs index dfce40f4411db770066c2d9e0c90714deccc9549..9b756191d0e3ab1fcb21785107cddc987da45026 100644 --- a/crates/theme/src/settings.rs +++ b/crates/theme/src/settings.rs @@ -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())); } }