Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

theme: Fix icon theme switching changing the theme (#24849)

Sanjeev Shrestha79ee01eb1425
diff --git a/crates/theme/src/settings.rs b/crates/theme/src/settings.rs
index 740bcd29aef..005d4c2fb63 100644
--- a/crates/theme/src/settings.rs
+++ b/crates/theme/src/settings.rs
@@ -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()));
}
}