No more crashes, still exits sometimes

This commit is contained in:
Thomas Farstrike
2025-04-28 19:38:15 +02:00
parent 1513ce3130
commit 22d3cde51f
@@ -123,7 +123,7 @@ app_store = AppStore(subwindow, "http://demo.lnpiggy.com:2121/apps.json")
# Wait until the user stops the app
import time
while appscreen == lv.screen_active() or (app_store.app_detail_screen and app_store.app_detail_screen == lv.screen_active()):
time.sleep_ms(50)
while (app_store.app_detail_screen and app_store.app_detail_screen == lv.screen_active()) or appscreen == lv.screen_active():
time.sleep_ms(100)
print("reached end of appstore")