mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Remove ': ' from display
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user