We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab91c6d commit ea9b5b1Copy full SHA for ea9b5b1
internal_filesystem/builtin/apps/com.micropythonos.osupdate/assets/osupdate.py
@@ -23,6 +23,11 @@ class OSUpdate(Activity):
23
def onCreate(self):
24
self.main_screen = lv.obj()
25
self.main_screen.set_style_pad_all(mpos.ui.pct_of_display_width(2), 0)
26
+
27
+ # Make the screen focusable so it can be scrolled with the arrow keys
28
+ if focusgroup := lv.group_get_default():
29
+ focusgroup.add_obj(self.main_screen)
30
31
self.current_version_label = lv.label(self.main_screen)
32
self.current_version_label.align(lv.ALIGN.TOP_LEFT,0,0)
33
self.current_version_label.set_text(f"Installed OS version: {mpos.info.CURRENT_OS_VERSION}")
0 commit comments