mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Apply theme changes (dark mode, color) immediately after saving
Also: - API: change "display" to mpos.ui.main_display - API: change mpos.ui.th to mpos.ui.task_handler
This commit is contained in:
@@ -24,7 +24,7 @@ class TestStartApp(unittest.TestCase):
|
||||
init_rootscreen()
|
||||
mpos.ui.topmenu.create_notification_bar()
|
||||
mpos.ui.topmenu.create_drawer(display)
|
||||
mpos.ui.th = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop (less results in lower framerate)
|
||||
mpos.ui.task_handler = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop (less results in lower framerate)
|
||||
|
||||
|
||||
def test_normal(self):
|
||||
|
||||
Reference in New Issue
Block a user