Tray: proper fix for hiding the capsule when no apps are in the tray

This commit is contained in:
quadbyte 2025-08-19 08:15:34 -04:00
parent 5e62f72361
commit ae93951900

View file

@ -12,7 +12,7 @@ import qs.Widgets
Rectangle {
readonly property real itemSize: 24 * scaling
visible: Settings.data.bar.showTray && SystemTray.items.length > 0
visible: Settings.data.bar.showTray && (SystemTray.items.values.length > 0)
width: tray.width + Style.marginM * scaling * 2
height: Math.round(Style.capsuleHeight * scaling)