mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
Feature/privacy widget fix (#772)
* Fix active camera icon * Fix active camera icon
This commit is contained in:
@@ -34,7 +34,7 @@ Singleton {
|
||||
}
|
||||
|
||||
PwObjectTracker {
|
||||
objects: Pipewire.nodes.values.filter(node => node.audio && !node.isStream)
|
||||
objects: Pipewire.nodes.values.filter(node => !node.isStream)
|
||||
}
|
||||
|
||||
readonly property bool cameraActive: {
|
||||
@@ -47,7 +47,7 @@ Singleton {
|
||||
if (!node || !node.ready) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
if (node.properties && node.properties["media.class"] === "Stream/Input/Video") {
|
||||
if (node.properties["stream.is-live"] === "true") {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user