tray: fix invisible module - use .count instead of .length on UntypedObjectModel
This commit is contained in:
parent
412f6d024b
commit
b6fe670467
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue