Improve UI language change performance

This commit is contained in:
Julien Lebosquain 2024-07-28 12:39:00 +02:00
commit cc92bc3702
No known key found for this signature in database
GPG key ID: 1833CAD10ACC46FD

View file

@ -139,9 +139,11 @@ namespace Ryujinx.Ava.Common.Locale
foreach (var item in locale) foreach (var item in locale)
{ {
this[item.Key] = item.Value; _localeStrings[item.Key] = item.Value;
} }
OnPropertyChanged("Item");
LocaleChanged?.Invoke(); LocaleChanged?.Invoke();
} }