island: show mic_off in the privacy group when the mic is muted (#4027)

port 2.0

(cherry picked from commit 46a12d9152)
This commit is contained in:
Mario Mohar authored and purian23 committed 2026-10-30 09:21:11 -04:00
1 parent 381c805f4d
commit 684111e482
1 file changed
+6 -1
@@ -631,7 +631,12 @@ Item {
spacing: Theme.spacingXXS
PrivacyIcon {
name: "mic"
// Same muted check as the bar's PrivacyIndicator
name: {
const sourceAudio = AudioService.source?.audio;
const muted = !sourceAudio || sourceAudio.muted || sourceAudio.volume === 0.0;
return muted ? "mic_off" : "mic";
}
active: PrivacyService.microphoneActive
}