small cleanup

This commit is contained in:
GreemDev
2025-11-27 00:37:00 -06:00
parent d8a6364cca
commit 4bdee89288
2 changed files with 10 additions and 11 deletions

View File

@@ -47,11 +47,9 @@ namespace Ryujinx.Ava.UI.SetupWizard
public SetupWizardPage WithContent<TControl, TViewModel>(out TViewModel boundViewModel)
where TControl : RyujinxControl<TViewModel>, new()
where TViewModel : SetupWizardPageContext, new()
{
boundViewModel = new() { NotificationManager = ownerWizard.NotificationManager };
return WithContent<TControl>(boundViewModel);
}
=> WithContent<TControl>(
boundViewModel = new() { NotificationManager = ownerWizard.NotificationManager }
);
public SetupWizardPage WithActionContent(LocaleKeys content) =>
WithActionContent(LocaleManager.Instance[content]);