2.4.2

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-18 15:49:56 +02:00
parent 46bc455b62
commit 472dcadaeb

View File

@ -33,7 +33,7 @@ class InternetConnectionPlugin(plugins.Plugin):
# the position and font can also be specified # the position and font can also be specified
ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='WWW', value='-', ui.add_element('connection_status', components.LabeledValue(color=view.BLACK, label='WWW', value='-',
position=(0, 30), label_font=fonts.Bold, position=(0, 30), label_font=fonts.Bold,
text_font=fonts.Small)) text_font=fonts.Medium))
def on_ui_update(self, ui): def on_ui_update(self, ui):
# check if there is an active Internet connection # check if there is an active Internet connection