From c42e8d0f5d7179f70a188a78ca23066ca38fbba7 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 1 May 2024 16:26:11 -0400 Subject: [PATCH] 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 --- pwnagotchi/plugins/default/bt-tether.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/bt-tether.py b/pwnagotchi/plugins/default/bt-tether.py index a19fd5fc..7ca7635a 100644 --- a/pwnagotchi/plugins/default/bt-tether.py +++ b/pwnagotchi/plugins/default/bt-tether.py @@ -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):