mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
chore: 删除多余判断
This commit is contained in:
@@ -1600,15 +1600,7 @@ namespace MaaWpfGui.Main
|
||||
|
||||
case "UnsupportedLevel":
|
||||
Instances.CopilotViewModel.AddLog(LocalizationHelper.GetString("UnsupportedLevel") + subTaskDetails!["level"], UiLogColor.Error);
|
||||
Task.Run(async () =>
|
||||
{
|
||||
if (SettingsViewModel.VersionUpdateSettings.IsCheckingForUpdates)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
await ResourceUpdater.ResourceUpdateAndReloadAsync();
|
||||
});
|
||||
_ = ResourceUpdater.ResourceUpdateAndReloadAsync();
|
||||
break;
|
||||
|
||||
case "CustomInfrastRoomGroupsMatch":
|
||||
|
||||
Reference in New Issue
Block a user