Skip to content

applets/batterymonitor: make better use of top-level properties

In the CompactRepresentation, we can use existing top-level properties instead of defining and redefining a bunch of new properties at various levels, which makes the code harder to read and more indirect.

There are no visual changes for the panel, tray, and desktop representations at all sizes that I tested.

cc @apol @ratijas

Merge request reports

Loading