mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-27 22:59:05 +00:00
misc: chore: Use collection expressions in HLE project
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
|
||||
_horizonClient = horizonClient;
|
||||
|
||||
_profiles = new ConcurrentDictionary<string, UserProfile>();
|
||||
_storedOpenedUsers = Array.Empty<UserProfile>();
|
||||
_storedOpenedUsers = [];
|
||||
|
||||
_accountSaveDataManager = new AccountSaveDataManager(_profiles);
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
|
||||
{
|
||||
ProfilesJson profilesJson = new()
|
||||
{
|
||||
Profiles = new List<UserProfileJson>(),
|
||||
Profiles = [],
|
||||
LastOpened = LastOpened.ToString(),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user