misc: chore: Use collection expressions in Horizon project

This commit is contained in:
Evan Husted
2025-01-26 15:43:27 -06:00
parent 70b767ef60
commit 9f3eac7f26
14 changed files with 106 additions and 105 deletions

View File

@@ -28,7 +28,7 @@ namespace Ryujinx.Horizon.Sdk.Friends.Detail.Ipc
_notificationEventHandler = notificationEventHandler;
_userId = userId;
_permissionLevel = permissionLevel;
_notifications = new LinkedList<SizedNotificationInfo>();
_notifications = [];
Os.CreateSystemEvent(out _notificationEvent, EventClearMode.AutoClear, interProcess: true).AbortOnFailure();
_hasNewFriendRequest = false;