diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index b25052f8399a5c9827d88108a20119f6b133fd94..18a19b2e5f362d172d8336addf8400f95691ba3f 100644 --- a/crates/zed/src/main.rs +++ b/crates/zed/src/main.rs @@ -1078,7 +1078,7 @@ fn eager_load_active_theme_and_icon_theme(fs: Arc, cx: &App) { let extension_store = ExtensionStore::global(cx); let theme_registry = ThemeRegistry::global(cx); let theme_settings = ThemeSettings::get_global(cx); - let appearance = cx.window_appearance().into(); + let appearance = SystemAppearance::global(cx).0; if let Some(theme_selection) = theme_settings.theme_selection.as_ref() { let theme_name = theme_selection.theme(appearance);