From c7b022144f8e10ec34388c963d1764e3d500c5cd Mon Sep 17 00:00:00 2001 From: d1y Date: Wed, 7 Feb 2024 23:13:46 +0800 Subject: [PATCH] theme_importer: Read theme name from VS Code theme (#7489) apply theme_name(fallback use "") Release Notes: - N/A --- crates/theme_importer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/theme_importer/src/main.rs b/crates/theme_importer/src/main.rs index c689d7f7f9..be470e6833 100644 --- a/crates/theme_importer/src/main.rs +++ b/crates/theme_importer/src/main.rs @@ -135,7 +135,7 @@ fn main() -> Result<()> { .context(format!("failed to parse theme {theme_file_path:?}"))?; let theme_metadata = ThemeMetadata { - name: "".to_string(), + name: vscode_theme.name.clone().unwrap_or("".to_string()), appearance: ThemeAppearanceJson::Dark, file_name: "".to_string(), };