mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 23:17:51 -04:00
dash: add live property to the user info card
Port 2.0
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user