mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 15:32:50 -05:00
dankbar: fix hiding widgets that should not be enabled
This commit is contained in:
@@ -15,6 +15,9 @@ Item {
|
|||||||
if (widget.warning && widget.warning.includes("Plugin is disabled")) {
|
if (widget.warning && widget.warning.includes("Plugin is disabled")) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if (widget.enabled === false) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user