nosignal-shell/modules/bar/components
Dylan Myers 90c051cfa1
internal: fix battery charging logic for tray and lock (#751)
* Update StatusIcons.qml --- Fix battery chargiing logic

idk what the difference is in the return value of UPower.onBattery and UPower.displayDevice.state, but the former always returns false after unplugging my laptop. Changing this to the more specific displayDevice.state === 2 fixes this

* Fetch.qml --- Fix battery charging boolean logic

* Use enum value for UPowerDeviceState instead of index

* Use enum value for UPowerDeviceState instead of index

* Update Fetch.qml --- invert battery conditional logic
2025-10-06 19:51:42 +11:00
..
workspaces internal: add opacity mask component 2025-09-14 19:05:08 +10:00
ActiveWindow.qml bar: fix height when tray expansion 2025-09-25 16:20:41 +10:00
Clock.qml bar/clock: allow hiding icon (#484) 2025-08-27 15:58:54 +10:00
OsIcon.qml internal: better colourisation 2025-08-14 16:25:46 +10:00
Power.qml bar: allow hiding items and reordering (#379) 2025-08-13 14:31:48 +10:00
StatusIcons.qml internal: fix battery charging logic for tray and lock (#751) 2025-10-06 19:51:42 +11:00
Tray.qml bar: fix height when tray expansion 2025-09-25 16:20:41 +10:00
TrayItem.qml bar/tray: add icon subs 2025-09-09 21:02:24 +10:00