misc: chore: Use collection expressions (part 2)

This commit is contained in:
KeatonTheBot committed 2025-03-10 21:32:01 -05:00
1 parent c923c0043a
commit 340ec79e9f
176 files changed
+308 -308

No files matched your search

@@ -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";