misc: chore: Use collection expressions in Avalonia project
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Ryujinx.Ava.UI.Models
|
||||
public class CheatNode : BaseModel
|
||||
{
|
||||
private bool _isEnabled = false;
|
||||
public ObservableCollection<CheatNode> SubNodes { get; } = new();
|
||||
public ObservableCollection<CheatNode> SubNodes { get; } = [];
|
||||
public string CleanName => Name[1..^7];
|
||||
public string BuildIdKey => $"{BuildId}-{Name}";
|
||||
public bool IsRootNode { get; }
|
||||
|
||||
Reference in New Issue
Block a user