mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
pref: 根据 qodana 优化代码
This commit is contained in:
@@ -1052,15 +1052,7 @@ namespace MaaWpfGui.Main
|
||||
case "RecruitNoPermit":
|
||||
{
|
||||
bool continueRefresh = (bool)subTaskDetails["continue"];
|
||||
if (continueRefresh)
|
||||
{
|
||||
Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("continueRefresh"));
|
||||
}
|
||||
else
|
||||
{
|
||||
Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("noRecruitPermit"));
|
||||
}
|
||||
|
||||
Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString(continueRefresh ? "continueRefresh" : "noRecruitPermit"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user