tray: fix invisible module - use .count instead of .length on UntypedObjectModel

This commit is contained in:
Damocles 2026-04-25 00:32:51 +02:00
parent 412f6d024b
commit b6fe670467
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ import "../services" as S
SequentialAnimation {
id: root
loops: S.Theme.reducedMotion ? 0 : Animation.Infinite
loops: S.Theme.reducedMotion ? 1 : Animation.Infinite
property real minOpacity: 0.4
property int halfDuration: 400

View file

@ -10,7 +10,7 @@ import "../services" as S
RowLayout {
id: root
spacing: S.Theme.moduleSpacing + 2
visible: S.Modules.tray.enable && SystemTray.items.length > 0
visible: S.Modules.tray.enable && SystemTray.items.count > 0
required property var bar
property var _activeMenu: null