mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-18 19:37:03 +00:00
misc: chore: Use collection expressions (part 2)
This commit is contained in:
parent
c923c0043a
commit
340ec79e9f
176 changed files with 308 additions and 308 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue