mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-23 05:35:47 +00:00
further simplify pagebuilding by embedding the desired title locale key in the context base type
This commit is contained in:
@@ -19,12 +19,12 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Ryujinx.Ava.UI.SetupWizard.Pages
|
||||
{
|
||||
public partial class SetupKeysPageContext : SetupWizardPageContext
|
||||
public partial class SetupKeysPageContext() : SetupWizardPageContext(LocaleKeys.SetupWizardKeysPageTitle)
|
||||
{
|
||||
public override Result CompleteStep() =>
|
||||
!Directory.Exists(KeysFolderPath)
|
||||
? Result.Fail
|
||||
: InstallKeys(KeysFolderPath);
|
||||
Directory.Exists(KeysFolderPath)
|
||||
? InstallKeys(KeysFolderPath)
|
||||
: Result.Fail;
|
||||
|
||||
public override object CreateHelpContent()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user