Use collection expression syntax.

This commit is contained in:
2024-11-12 06:39:06 +00:00
parent dda17fc1f9
commit cd66743990
16 changed files with 64 additions and 53 deletions

View File

@@ -68,7 +68,7 @@ public sealed class ImportRomFolderViewModel : ViewModelBase
_removeFilesChecked = false;
_knownOnlyChecked = true;
_recurseArchivesChecked = Settings.Settings.UnArUsable;
ImportResults = new ObservableCollection<ImportRomItem>();
ImportResults = [];
CloseCommand = ReactiveCommand.Create(ExecuteCloseCommand);
StartCommand = ReactiveCommand.Create(ExecuteStartCommand);
IsReady = true;