mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 23:27:11 +02:00
misc: chore: More ObservableProperty usage
This commit is contained in:
parent
9c12f52805
commit
3cf54987d2
7 changed files with 103 additions and 823 deletions
|
@ -1,21 +1,12 @@
|
|||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using Ryujinx.Ava.UI.ViewModels;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Ryujinx.Ava.UI.Models
|
||||
{
|
||||
public class ModModel : BaseModel
|
||||
public partial class ModModel : BaseModel
|
||||
{
|
||||
private bool _enabled;
|
||||
|
||||
public bool Enabled
|
||||
{
|
||||
get => _enabled;
|
||||
set
|
||||
{
|
||||
_enabled = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
[ObservableProperty] private bool _enabled;
|
||||
|
||||
public bool InSd { get; }
|
||||
public string Path { get; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue