chore: 删除多余判断

This commit is contained in:
uye
2025-03-08 23:06:40 +08:00
parent 2115d2e7c9
commit abbcbdfdac

View File

@@ -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":