fix battery logic
This commit is contained in:
parent
d45beea1c2
commit
c13610253f
@ -8,12 +8,9 @@ import qs
|
||||
import qs.reusables
|
||||
import qs.settings
|
||||
|
||||
Loader {
|
||||
id: batLoader
|
||||
active: UPower.displayDevice.isLaptopBattery
|
||||
|
||||
sourceComponent: Rectangle {
|
||||
Rectangle {
|
||||
id: container
|
||||
visible: UPower.displayDevice.isLaptopBattery
|
||||
radius: implicitHeight / 2
|
||||
color: Colors.surfaceContainer
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
@ -85,4 +82,3 @@ Loader {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user