Skip to content
Commit 60a5a14e authored by Fabian Vogt's avatar Fabian Vogt Committed by Nate Graham
Browse files

applets/batterymonitor: Use "video-display-brightness" for !hasBatteries

f9e39815 ("applets/batterymonitor: Improve for desktop systems") changed the
plasmoid to use a plain icon instead of the CompactRepresentation if there are
no batteries.
While 471cc374 ("applets/batterymonitor: fix CompactRepresentation") brought
the use of the CompactRepresentation back, the plain icon is still used.

For the case that there are no batteries and brightness controls available,
it fell back to "battery", which has no symbolic variant. Change that to use
the symbolic "video-display-brightness" as well.

BUG: 448520


(cherry picked from commit 1b9826d3)
parent 6f1da121
Loading
Loading
Loading
Pipeline #125449 failed with stage
in 55 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment