Remove ': ' from display

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2024-12-28 20:20:23 +01:00
parent 578731e978
commit aa4c352bbd

View File

@ -250,10 +250,10 @@ class PiSugar(plugins.Plugin):
if battery_plugged: if battery_plugged:
# If plugged in, display "CHG" # If plugged in, display "CHG"
ui._state._state['bat'].label = "CHG: " ui._state._state['bat'].label = "CHG"
else: else:
# Otherwise, keep it as "BAT" # Otherwise, keep it as "BAT"
ui._state._state['bat'].label = "BAT: " ui._state._state['bat'].label = "BAT"
# Handle rotation or default display logic # Handle rotation or default display logic
if self.rotation_enabled: if self.rotation_enabled: