[CodeQuality]Address C# static analyzer suggestions (#29765)

* Address static analyzer suggestions

* address feedback
This commit is contained in:
Davide Giacometti
2023-11-13 17:06:00 +01:00
committed by GitHub
parent 22000228e2
commit 5e7d5d1f7f
6 changed files with 13 additions and 18 deletions

View File

@@ -44,7 +44,7 @@ namespace ImageResizer.ViewModels
{
if (_batch.Files.Count == 0)
{
_batch.Files.AddRange(view?.OpenPictureFiles());
_batch.Files.AddRange(view.OpenPictureFiles());
}
CurrentPage = new InputViewModel(_settings, this, view, _batch);