mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-13 08:45:47 +00:00
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:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user