misc: chore: Use collection expressions (part 2)

This commit is contained in:
KeatonTheBot 2025-03-10 21:32:01 -05:00
parent c923c0043a
commit 340ec79e9f
176 changed files with 308 additions and 308 deletions

View file

@ -38,7 +38,7 @@ namespace Ryujinx.Ava.UI.Views.Main
private CheckBox[] GenerateToggleFileTypeItems()
{
List<CheckBox> checkBoxes = new();
List<CheckBox> checkBoxes = [];
foreach (var item in Enum.GetValues(typeof(FileTypes)))
{
@ -56,7 +56,7 @@ namespace Ryujinx.Ava.UI.Views.Main
private static MenuItem[] GenerateLanguageMenuItems()
{
List<MenuItem> menuItems = new();
List<MenuItem> menuItems = [];
string localePath = "Ryujinx/Assets/Locales";
string localeExt = ".json";