forgot some color code for qml

This commit is contained in:
Tomas Rivera
2026-03-11 15:01:23 +01:00
parent 7e1fddf239
commit 9401f13348
4 changed files with 89 additions and 64 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Item {
readonly property bool isPluggedIn: isCharging || chargeState == UPowerDeviceState.PendingCharge
readonly property real percentage: UPower.displayDevice.percentage
readonly property bool isLow: percentage <= 0.20
readonly property bool isLaptop: UPowerDevice.isLaptop // hardcoded because this doesnt work UPowerDevice.isLaptopBattery
readonly property bool isLaptop: true // hardcoded because this doesnt work UPowerDevice.isLaptopBattery
width: 32
height: 32