Fix control widget

This commit is contained in:
世界
2024-11-24 19:30:52 +08:00
parent 286f9717cb
commit dac24338e4
+1 -4
View File
@@ -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