TitleUpdateModel.cs 546 B

12345678910111213141516171819
  1. using LibHac.Ns;
  2. using Ryujinx.Ava.Common.Locale;
  3. namespace Ryujinx.Ava.UI.Models
  4. {
  5. public class TitleUpdateModel
  6. {
  7. public ApplicationControlProperty Control { get; }
  8. public string Path { get; }
  9. public string Label => LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.TitleUpdateVersionLabel, Control.DisplayVersionString.ToString());
  10. public TitleUpdateModel(ApplicationControlProperty control, string path)
  11. {
  12. Control = control;
  13. Path = path;
  14. }
  15. }
  16. }