style: show noise suppression disabled state

This commit is contained in:
illusia committed 2026-10-11 22:20:12 +08:00
1 parent 0a77bdcaca
commit 7fe8719812
9 files changed
+21 -7

No files matched your search

+1 -1
View File
@@ -1852,7 +1852,7 @@ const skinPluginWidgets = {
}, [h(Icon, { name: "settings", size: 16 }), h("span", null, t("voiceSettings"))]),
h("button", {
type: "button",
class: ["mobile-voice-toggle", "mobile-noise-suppression", noiseSuppressionEnabled.value && "active"],
class: ["mobile-voice-toggle", "mobile-noise-suppression", noiseSuppressionEnabled.value ? "active" : "inactive"],
"aria-label": t("noiseSuppression"),
title: t("noiseSuppression"),
"aria-pressed": noiseSuppressionEnabled.value,