move more of the setup wizard logic into the setup wizard itself instead of having some critical logic in a random lambda in MainWindow.axaml.cs

This commit is contained in:
GreemDev
2025-11-22 20:33:28 -06:00
parent 5a060cf451
commit 8ab851ead8
5 changed files with 33 additions and 31 deletions

View File

@@ -146,11 +146,7 @@ namespace Ryujinx.Ava.UI.Windows
if (Program.IsFirstStart && RyujinxSetupWizardWindow.CanShowSetupWizard)
{
Task windowTask = ShowAsync(
RyujinxSetupWizardWindow.CreateWindow(ViewModel, out BaseSetupWizard wiz),
this);
_ = wiz.Start();
await windowTask;
await RyujinxSetupWizardWindow.ShowAsync(this);
}
});