mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 20:11:06 +02:00
misc: chore: Use collection expressions (part 2)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user