diff --git a/internal_filesystem/lib/mpos/ui/topmenu.py b/internal_filesystem/lib/mpos/ui/topmenu.py index 81bcbbce..ef128bb5 100644 --- a/internal_filesystem/lib/mpos/ui/topmenu.py +++ b/internal_filesystem/lib/mpos/ui/topmenu.py @@ -204,6 +204,7 @@ def create_drawer(display=None): drawer.set_size(lv.pct(100),lv.pct(90)) drawer.set_pos(0,NOTIFICATION_BAR_HEIGHT) drawer.set_scroll_dir(lv.DIR.VER) + drawer.set_scrollbar_mode(lv.SCROLLBAR_MODE.OFF) drawer.set_style_pad_all(15, 0) drawer.set_style_border_width(0, 0) drawer.set_style_radius(0, 0) diff --git a/internal_filesystem/main.py b/internal_filesystem/main.py index ad5018a8..8c93ff5e 100644 --- a/internal_filesystem/main.py +++ b/internal_filesystem/main.py @@ -44,19 +44,16 @@ except Exception as e: # This will throw an exception if there is already a "/builtin" folder present print("main.py: WARNING: could not import/run freezefs_mount_builtin: ", e) -from mpos import apps - -apps.execute_script("builtin/system/button.py", True) # Install button handler through IRQ +mpos.apps.execute_script("builtin/system/button.py", True) # Install button handler through IRQ try: import mpos.wifi - import mpos.apps _thread.stack_size(mpos.apps.good_stack_size()) _thread.start_new_thread(mpos.wifi.WifiService.auto_connect, ()) except Exception as e: print(f"Couldn't start mpos.wifi.WifiService.auto_connect thread because: {e}") -apps.restart_launcher() +mpos.apps.restart_launcher() # If we got this far without crashing, then no need to rollback the update: try: