Fix toggle control again

This commit is contained in:
世界
2026-01-30 12:31:40 +08:00
parent d10580e90f
commit 3eecabbc68
+1 -1
View File
@@ -15,7 +15,7 @@ struct ServiceToggleControl: ControlWidget {
action: ToggleServiceIntent()
) { isOn in
Label(isOn ? "Running" : "Stopped", systemImage: "shippingbox.fill")
.controlWidgetActionHint(isOn ? "Stop" : "Start")
// .controlWidgetActionHint(isOn ? "Stop" : "Start")
}
.tint(.init(red: CGFloat(Double(69) / 255), green: CGFloat(Double(90) / 255), blue: CGFloat(Double(100) / 255)))
}