From 4e5584b70920a4269080219dccf55838478d68ce Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 22 Mar 2025 12:25:02 +0900 Subject: [PATCH] Enable acrylic effect on first launch if running on Windows 11 --- Flow.Launcher/MainWindow.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 2ce3d1e95e6..d2e9dade9ac 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -98,6 +98,9 @@ private async void OnLoaded(object sender, RoutedEventArgs _) { _settings.FirstLaunch = false; App.API.SaveAppAllSettings(); + /* Set Backdrop Type to Acrylic for Windows 11 when First Launch. Default is None. */ + if (OperatingSystem.IsWindowsVersionAtLeast(10, 0, 22000)) + _settings.BackdropType = BackdropTypes.Acrylic; var WelcomeWindow = new WelcomeWindow(); WelcomeWindow.Show(); }