diff --git a/App.xaml.cs b/App.xaml.cs index e70f9f1..dece8de 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -24,7 +24,7 @@ public partial class App : Application newTheme.SetPrimaryColor(Color.FromRgb(newColor.R, newColor.G, newColor.B)); paletteHelper.SetTheme(newTheme); - if (Environment.OSVersion.Version.Major == 10 && Environment.OSVersion.Version.Build < 22000) + if (Environment.OSVersion.Version.Build < 22000) { Style newWindowStyle = new(typeof(Window), Current.Resources["CommonWindow"] as Style); newWindowStyle.Setters.Add(new Setter(Window.BackgroundProperty, new DynamicResourceExtension("MaterialDesignBackground"))); diff --git a/Sheas-Cealer.csproj b/Sheas-Cealer.csproj index 9e5ebaf..72e4a73 100644 --- a/Sheas-Cealer.csproj +++ b/Sheas-Cealer.csproj @@ -22,7 +22,7 @@ Copyright © 2077 WinExe net8.0-windows10.0.26100.0 - 7.0 + 10.0.17763.0 10.0.26100.41 Sheas_Cealer enable