From e1c180a13f85810071fc969e17b53c8f990e6dfb Mon Sep 17 00:00:00 2001 From: Mattias <810218+avesst@users.noreply.github.com> Date: Sun, 19 Oct 2025 18:36:01 +0200 Subject: [PATCH] feat: Indicate when the mic is muted in the Privacy Indicator (#495) * feat: Indicate when the mic is muted in the Privacy Indicator * chore: tidy up --- Modules/DankBar/Widgets/PrivacyIndicator.qml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Modules/DankBar/Widgets/PrivacyIndicator.qml b/Modules/DankBar/Widgets/PrivacyIndicator.qml index b6d3b561..03ad32bc 100644 --- a/Modules/DankBar/Widgets/PrivacyIndicator.qml +++ b/Modules/DankBar/Widgets/PrivacyIndicator.qml @@ -59,7 +59,11 @@ Rectangle { anchors.horizontalCenter: parent.horizontalCenter DankIcon { - name: "mic" + name: { + let muted = AudioService.source.audio.muted || AudioService.source.audio.volume === 0.0 + if (muted) return "mic_off" + return "mic" + } size: Theme.iconSizeSmall color: Theme.error filled: true @@ -125,7 +129,11 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter DankIcon { - name: "mic" + name: { + let muted = AudioService.source.audio.muted || AudioService.source.audio.volume === 0.0 + if (muted) return "mic_off" + return "mic" + } size: Theme.iconSizeSmall color: Theme.error filled: true