mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Move BT status position in view
This moves the position of BT status a little to the left to make enough space for battery plugin status. When a battery plugin is used along with bt-tether, BT status can overwrite the first character of the battery plugin status. Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
This commit is contained in:
@ -578,7 +578,7 @@ class BTTether(plugins.Plugin):
|
||||
def on_ui_setup(self, ui):
|
||||
with ui._lock:
|
||||
ui.add_element('bluetooth', LabeledValue(color=BLACK, label='BT', value='-',
|
||||
position=(ui.width() / 2 - 10, 0),
|
||||
position=(ui.width() / 2 - 20, 0),
|
||||
label_font=fonts.Bold, text_font=fonts.Medium))
|
||||
|
||||
def on_ui_update(self, ui):
|
||||
|
Reference in New Issue
Block a user