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 {
|
PwObjectTracker {
|
||||||
objects: Pipewire.nodes.values.filter(node => node.audio && !node.isStream)
|
objects: Pipewire.nodes.values.filter(node => !node.isStream)
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property bool cameraActive: {
|
readonly property bool cameraActive: {
|
||||||
@@ -47,7 +47,7 @@ Singleton {
|
|||||||
if (!node || !node.ready) {
|
if (!node || !node.ready) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node.properties && node.properties["media.class"] === "Stream/Input/Video") {
|
if (node.properties && node.properties["media.class"] === "Stream/Input/Video") {
|
||||||
if (node.properties["stream.is-live"] === "true") {
|
if (node.properties["stream.is-live"] === "true") {
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user