mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-21 18:21:13 +02:00
misc: chore: Use collection expressions (part 2)
This commit is contained in:
@@ -661,7 +661,7 @@ namespace Ryujinx.UI.App.Common
|
||||
_applications.Clear();
|
||||
|
||||
// Builds the applications list with paths to found applications
|
||||
List<string> applicationPaths = new();
|
||||
List<string> applicationPaths = [];
|
||||
|
||||
try
|
||||
{
|
||||
@@ -854,7 +854,7 @@ namespace Ryujinx.UI.App.Common
|
||||
{
|
||||
_cancellationToken = new CancellationTokenSource();
|
||||
|
||||
List<string> dlcPaths = new();
|
||||
List<string> dlcPaths = [];
|
||||
int newDlcLoaded = 0;
|
||||
numDlcRemoved = 0;
|
||||
|
||||
@@ -967,7 +967,7 @@ namespace Ryujinx.UI.App.Common
|
||||
{
|
||||
_cancellationToken = new CancellationTokenSource();
|
||||
|
||||
List<string> updatePaths = new();
|
||||
List<string> updatePaths = [];
|
||||
int numUpdatesLoaded = 0;
|
||||
numUpdatesRemoved = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user