MeloNX-fork/src/Ryujinx.Ava/UI/Models/TitleUpdateModel.cs
2023-04-27 23:51:14 +02:00

19 lines
546 B
C#

using LibHac.Ns;
using Ryujinx.Ava.Common.Locale;
namespace Ryujinx.Ava.UI.Models
{
public class TitleUpdateModel
{
public ApplicationControlProperty Control { get; }
public string Path { get; }
public string Label => LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.TitleUpdateVersionLabel, Control.DisplayVersionString.ToString());
public TitleUpdateModel(ApplicationControlProperty control, string path)
{
Control = control;
Path = path;
}
}
}