@@ -49,11 +49,9 @@ PanelWindow {
4949 Rectangle {
5050 anchors .fill : parent
5151 radius: Common .Appearance .rounding .small
52- color: button .highlighted
53- ? Common .Appearance .m3colors .primaryContainer
54- : (button .containsMouse
55- ? Common .Appearance .m3colors .surfaceVariant
56- : " transparent" )
52+ color: button .containsMouse
53+ ? Common .Appearance .m3colors .surfaceVariant
54+ : " transparent"
5755
5856 Behavior on color {
5957 ColorAnimation { duration: 150 }
@@ -70,7 +68,7 @@ PanelWindow {
7068 name: button .icon
7169 size: Common .Appearance .sizes .iconMedium
7270 color: button .highlighted
73- ? Common .Appearance .m3colors .onPrimaryContainer
71+ ? Common .Appearance .m3colors .primary
7472 : button .textColor
7573 }
7674
@@ -80,7 +78,7 @@ PanelWindow {
8078 font .family : Common .Appearance .fonts .main
8179 font .pixelSize : Common .Appearance .fontSize .normal
8280 color: button .highlighted
83- ? Common .Appearance .m3colors .onPrimaryContainer
81+ ? Common .Appearance .m3colors .primary
8482 : button .textColor
8583 }
8684 }
@@ -141,7 +139,20 @@ PanelWindow {
141139 visible: root .isLeftmost
142140 icon: Common .Icons .icons .apps
143141 tooltip: " Applications"
144- onClicked: Root .GlobalStates .toggleSidebarLeft (root .targetScreen )
142+ onClicked: Root .GlobalStates .toggleSidebarLeft (root .targetScreen , " apps" )
143+ }
144+
145+ // Updates button (only on leftmost screen, shows indicator when attention needed)
146+ BarButton {
147+ visible: root .isLeftmost
148+ icon: Services .Updates .needsAttention
149+ ? Common .Icons .icons .download
150+ : Common .Icons .icons .checkCircle
151+ tooltip: Services .Updates .preinstallCompleted
152+ ? Services .Updates .summary ()
153+ : " Setup required"
154+ highlighted: Services .Updates .needsAttention
155+ onClicked: Root .GlobalStates .toggleSidebarLeft (root .targetScreen , " updates" )
145156 }
146157
147158 // Spacer
0 commit comments