Fix battery var II, thanks to RWH
This commit is contained in:
parent
52fff021d0
commit
6ee5fca9f9
@ -45,7 +45,7 @@ class DeviceView(canvasicon.CanvasIcon):
|
|||||||
|
|
||||||
# Update palette
|
# Update palette
|
||||||
if self._model.props.charging:
|
if self._model.props.charging:
|
||||||
status = _STATUS_CHARING
|
status = _STATUS_CHARGING
|
||||||
elif self._model.props.discharging:
|
elif self._model.props.discharging:
|
||||||
status = _STATUS_DISCHARGING
|
status = _STATUS_DISCHARGING
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user