From dac24338e462ef2bb6f00337d00cc6c666506884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sun, 24 Nov 2024 19:30:38 +0800 Subject: [PATCH] Fix control widget --- WidgetExtension/ServiceToggleControl.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/WidgetExtension/ServiceToggleControl.swift b/WidgetExtension/ServiceToggleControl.swift index c0dc98b..87bcdb3 100644 --- a/WidgetExtension/ServiceToggleControl.swift +++ b/WidgetExtension/ServiceToggleControl.swift @@ -38,12 +38,9 @@ extension ServiceToggleControl { } } -struct ToggleServiceIntent: SetValueIntent, LiveActivityIntent { +struct ToggleServiceIntent: SetValueIntent { static var title: LocalizedStringResource = "Toggle sing-box" - static var description = - IntentDescription("Toggle sing-box service") - @Parameter(title: "Running") var value: Bool