dash: add live property to the user info card

Port 2.0

(cherry picked from commit 6f68c94bc3)
This commit is contained in:
purian23 authored and dux-ci[bot] committed 2026-10-30 13:03:29 +00:00
1 parent 8caccd09fd
commit 0887447286
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