1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-11 07:58:30 -04:00

fix(ipc): widget status distinguishes missing popouts from closed ones

fixes #3032
port 1.5
This commit is contained in:
bbedward
2026-08-10 18:34:58 -04:00
parent c2faa0ea1c
commit 2f27eab949
+3 -3
View File
@@ -1206,9 +1206,9 @@ Item {
if (!widget)
return `WIDGET_NOT_AVAILABLE: ${widgetId}`;
if (widget.popoutTarget?.shouldBeVisible)
return "visible";
return "hidden";
if (!widget.popoutTarget)
return `WIDGET_NO_POPOUT: ${widgetId}`;
return widget.popoutTarget.shouldBeVisible ? "visible" : "hidden";
}
function reveal(widgetId: string): string {