mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-16 01:36:57 +00:00
further simplify pagebuilding by embedding the desired title locale key in the context base type
This commit is contained in:
parent
a336bb0568
commit
327cdb825a
5 changed files with 22 additions and 12 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue