mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-22 10:42:02 +00:00
719dc97bbd
* Start Refactor * Dialogue opens * Changes * Switch to ListBox * Fix bugs and stuff * Fix spacing * Implement OpenLocation * Change icon * Color * Color * Remove background * Make no update the same height * Fix height and smooth scroll * Height * Fix update selection * Make window smaller * Add back remove all button * Make selection more obvious * Hide selection bar on SaveManager * Fix autoscroll * Fix no update not staying selected * Better file opener * Fix * Revert that * Update Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Log warning * Update Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> Co-authored-by: Ac_K <Acoustik666@gmail.com>
19 lines
No EOL
536 B
C#
19 lines
No EOL
536 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 => string.Format(LocaleManager.Instance[LocaleKeys.TitleUpdateVersionLabel], Control.DisplayVersionString.ToString());
|
|
|
|
public TitleUpdateModel(ApplicationControlProperty control, string path)
|
|
{
|
|
Control = control;
|
|
Path = path;
|
|
}
|
|
}
|
|
} |