From d720287ed0a816b09e2708da13fadd6963b2cdde Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Wed, 26 Feb 2025 09:30:06 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip changelog] --- src/MaaWpfGui/Models/Copilot/SSSCopilotModel.cs | 15 --------------- src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs | 2 -- 2 files changed, 17 deletions(-) diff --git a/src/MaaWpfGui/Models/Copilot/SSSCopilotModel.cs b/src/MaaWpfGui/Models/Copilot/SSSCopilotModel.cs index fa9f8da06c..7970632d14 100644 --- a/src/MaaWpfGui/Models/Copilot/SSSCopilotModel.cs +++ b/src/MaaWpfGui/Models/Copilot/SSSCopilotModel.cs @@ -141,21 +141,6 @@ public class SSSCopilotModel : CopilotBase return output; } - public class Doc - { - [JsonProperty("title")] - public string? Title { get; set; } - - [JsonProperty("title_color")] - public string? TitleColor { get; set; } - - [JsonProperty("details")] - public string? Details { get; set; } - - [JsonProperty("details_color")] - public string? DetailsColor { get; set; } - } - public class Oper { [JsonProperty("name")] diff --git a/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs b/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs index 0a99422afd..44db65c432 100644 --- a/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs @@ -1251,8 +1251,6 @@ namespace MaaWpfGui.ViewModels.UI _runningState.SetIdle(true); } - private bool _isVideoTask; - private bool _isDataFromWeb; private bool IsDataFromWeb