We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ac8fb2 commit a3fc2b1Copy full SHA for a3fc2b1
1 file changed
internal_filesystem/builtin/apps/com.micropythonos.osupdate/assets/osupdate.py
@@ -38,7 +38,7 @@ def set_state(self, new_state):
38
"""Change app state and update UI accordingly."""
39
print(f"OSUpdate: state change {self.current_state} -> {new_state}")
40
self.current_state = new_state
41
- self.update_ui_threadsafe_if_foreground(self._update_ui_for_state) # Since called from both threads, be threadsafe
+ self._update_ui_for_state()
42
43
def onCreate(self):
44
self.main_screen = lv.obj()
0 commit comments