mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
chore: revert ui perf (commit b3b9198)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user