mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 01:57:11 +02:00
misc: chore: Use collection expressions in Avalonia project
This commit is contained in:
parent
46a5cafaa8
commit
ae90db2040
28 changed files with 114 additions and 112 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue