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):