mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Code quality
This commit is contained in:
parent
7d39c52596
commit
de5803482c
1 changed files with 9 additions and 3 deletions
|
|
@ -101,11 +101,16 @@ namespace Flow.Launcher
|
|||
// Check first launch
|
||||
if (_settings.FirstLaunch)
|
||||
{
|
||||
// Set First Launch to false
|
||||
_settings.FirstLaunch = false;
|
||||
|
||||
// Set Backdrop Type to Acrylic for Windows 11 when First Launch. Default is None
|
||||
if (Win32Helper.IsBackdropSupported()) _settings.BackdropType = BackdropTypes.Acrylic;
|
||||
|
||||
// Save settings
|
||||
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;
|
||||
|
||||
// Show Welcome Window
|
||||
var WelcomeWindow = new WelcomeWindow();
|
||||
WelcomeWindow.Show();
|
||||
}
|
||||
|
|
@ -206,6 +211,7 @@ namespace Flow.Launcher
|
|||
WindowAnimation();
|
||||
}
|
||||
|
||||
// Update activate times
|
||||
_settings.ActivateTimes++;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue