From 8520c599b446827d9f21bdec8129b5f3236e2bca Mon Sep 17 00:00:00 2001 From: TongTongStudio Date: Sat, 28 Nov 2026 05:18:53 +0800 Subject: [PATCH] Use Semi.Avalonia for the desktop theme --- EmulatorManager.csproj | 2 +- Program.cs | 4 ++-- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EmulatorManager.csproj b/EmulatorManager.csproj index 803c89d..d0ce1e7 100644 --- a/EmulatorManager.csproj +++ b/EmulatorManager.csproj @@ -7,6 +7,6 @@ - + diff --git a/Program.cs b/Program.cs index cac7b37..dafa3ed 100644 --- a/Program.cs +++ b/Program.cs @@ -1,6 +1,6 @@ using Avalonia; using Avalonia.Controls.ApplicationLifetimes; -using Avalonia.Themes.Fluent; +using Semi.Avalonia; internal static class Program { @@ -12,7 +12,7 @@ internal static class Program public sealed class App : Application { - public override void Initialize() => Styles.Add(new FluentTheme()); + public override void Initialize() => Styles.Add(new SemiTheme()); public override void OnFrameworkInitializationCompleted() { diff --git a/README.md b/README.md index 5a2c750..e412d70 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # HarmonyOS Emulator 管理器 -使用 C#、.NET 10 和 Avalonia 的桌面应用,调用本机华为 Emulator CLI。 +使用 C#、.NET 10、Avalonia 和 Semi.Avalonia 主题的桌面应用,调用本机华为 Emulator CLI。 ## 运行