Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update icon theme fallback to use default theme (#38485)
Jan Češpivo0f4bdca9e974
diff --git a/crates/theme/src/settings.rs b/crates/theme/src/settings.rsindex e8ae1eed3cd..b2c19ae3ed0 100644--- a/crates/theme/src/settings.rs+++ b/crates/theme/src/settings.rs@@ -808,7 +808,7 @@ impl settings::Settings for ThemeSettings {theme_overrides: HashMap::default(),active_icon_theme: themes.get_icon_theme(icon_theme_selection.icon_theme(*system_appearance))- .ok()+ .or_else(|_| themes.default_icon_theme()).unwrap(),icon_theme_selection: Some(icon_theme_selection),ui_density: content.ui_density.unwrap_or_default().into(),