[OOBE]Show only OOBE at first run on WinUI3 (#17957)

This commit is contained in:
Stefan Markovic 2022-04-28 18:31:23 +02:00 committed by GitHub
parent 3da341fb1b
commit 63d2a5dd71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,9 +141,9 @@ namespace Microsoft.PowerToys.Settings.UI
});
ipcmanager.Start();
settingsWindow = new MainWindow();
if (!ShowOobe && !ShowScoobe)
{
settingsWindow = new MainWindow();
settingsWindow.Activate();
settingsWindow.NavigateToSection(StartupPage);
}