mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-21 01:37:00 +00:00
misc: chore: Fix object creation in Avalonia project
This commit is contained in:
parent
5f023ca49b
commit
3cdaaa0b69
25 changed files with 63 additions and 63 deletions
|
|
@ -125,7 +125,7 @@ namespace Ryujinx.Ava.Common.Locale
|
|||
|
||||
private static Dictionary<LocaleKeys, string> LoadJsonLanguage(string languageCode)
|
||||
{
|
||||
Dictionary<LocaleKeys, string> localeStrings = new Dictionary<LocaleKeys, string>();
|
||||
Dictionary<LocaleKeys, string> localeStrings = new();
|
||||
|
||||
_localeData ??= EmbeddedResources.ReadAllText("Ryujinx/Assets/locales.json")
|
||||
.Into(it => JsonHelper.Deserialize(it, LocalesJsonContext.Default.LocalesJson));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue