aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2022-11-25 12:41:34 +0100
committerGitHub <noreply@github.com>2022-11-25 12:41:34 +0100
commit3fbacd0f495f087af5a6316da5abe2b4595d8c9d (patch)
treeac444a50ef8f85af172069a49b70f98514082d67 /Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs
parent7aa6abc12038b949f26c5f1ad1d4559c81fdc1af (diff)
ava: Rework DLC Manager, Add various fixes and cleanup (#3896)1.1.385
* Fixes Everything Part.2 * Change sorting, fix remove and heading
Diffstat (limited to 'Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs')
-rw-r--r--Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs20
1 files changed, 17 insertions, 3 deletions
diff --git a/Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs b/Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs
index 67530f62..5f3ca031 100644
--- a/Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs
+++ b/Ryujinx.Ava/Ui/Models/DownloadableContentModel.cs
@@ -1,8 +1,22 @@
-namespace Ryujinx.Ava.Ui.Models
+using Ryujinx.Ava.Ui.ViewModels;
+
+namespace Ryujinx.Ava.Ui.Models
{
- public class DownloadableContentModel
+ public class DownloadableContentModel : BaseModel
{
- public bool Enabled { get; set; }
+ private bool _enabled;
+
+ public bool Enabled
+ {
+ get => _enabled;
+ set
+ {
+ _enabled = value;
+
+ OnPropertyChanged();
+ }
+ }
+
public string TitleId { get; }
public string ContainerPath { get; }
public string FullPath { get; }