dash: add live property to the user info card

Port 2.0
This commit is contained in:
purian23 committed 2026-10-30 09:02:57 -04:00
1 parent 40a129c9d6
commit 6f68c94bc3
1 file changed
+2 -1
@@ -6,6 +6,7 @@ import qs.Modules.DDash
Card {
id: root
property bool live: Window.window?.visible ?? false
readonly property bool narrow: width < DashMetrics.gridRowUnit * 2
readonly property bool tall: height >= DashMetrics.gridRowUnit * 2
@@ -13,7 +14,7 @@ Card {
UserIdentity {
anchors.fill: parent
live: root.Window.window?.visible ?? false
live: root.live
options: root.options
narrow: root.narrow
tall: root.tall