fix language switching 2 (ryubing/ryujinx!244)

See merge request ryubing/ryujinx!244
This commit is contained in:
LotP 2025-12-31 10:30:35 -06:00
parent 453b246faa
commit 0a3db19b28

View File

@ -101,7 +101,7 @@ namespace Ryujinx.Ava.UI.Views.Main
Padding = new Thickness(15, 0, 0, 0),
Margin = new Thickness(3, 0, 3, 0),
HorizontalAlignment = HorizontalAlignment.Stretch,
Header = language == currentLanguageCode ? $"{languageName} ✔" : languageName,
Header = code == currentLanguageCode ? $"{languageName} ✔" : languageName,
Command = Commands.Create(() => MainWindowViewModel.ChangeLanguage(code))
};