From 3f3bdb922cf22ca348f170e727e8c31aece20b2f Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Mon, 18 Sep 2023 15:59:05 +0200 Subject: [PATCH] version: 2.4.2 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/internet-connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/internet-connection.py b/pwnagotchi/plugins/default/internet-connection.py index ccde13bb..66995217 100644 --- a/pwnagotchi/plugins/default/internet-connection.py +++ b/pwnagotchi/plugins/default/internet-connection.py @@ -32,7 +32,7 @@ class InternetConnectionPlugin(plugins.Plugin): # add a LabeledValue element to the UI with the given label and value # the position and font can also be specified ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='WWW', value='-', - position=(0, 30), label_font=fonts.Bold, + position=(ui.width() / 2 - 10, 0), label_font=fonts.Bold, text_font=fonts.Medium)) def on_ui_update(self, ui):