chore: revert ui perf (commit b3b9198)

This commit is contained in:
ManicSteiner
2024-08-18 23:09:13 +08:00
parent 0becaf9170
commit 876ab23577

View File

@@ -4854,7 +4854,7 @@ namespace MaaWpfGui.ViewModels.UI
get => _language;
set
{
if (!SetAndNotify(ref _language, value))
if (value == _language)
{
return;
}
@@ -4894,6 +4894,8 @@ namespace MaaWpfGui.ViewModels.UI
Bootstrapper.ShutdownAndRestartWithoutArgs();
}
SetAndNotify(ref _language, value);
return;
string FormatText(string text, string key)