From abfd421705e5b9ce02b4fae39309033153a2a5a3 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sat, 17 May 2025 21:36:14 +0200 Subject: [PATCH] appstore: load icons slower so they always work --- .../builtin/apps/com.example.appstore/assets/appstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py b/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py index 4fbd47ad..0f7693dd 100644 --- a/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py +++ b/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py @@ -250,7 +250,7 @@ def download_icons(): image_dsc = download_icon(app.icon_url) app.image_dsc = image_dsc # save it for the app detail page lv.async_call(lambda l: app.image.set_src(image_dsc), None) - time.sleep_ms(round(th.duration*2)) # not waiting here will result in some async_calls() not being executed + time.sleep_ms(50) # not waiting here will result in some async_calls() not being executed print("Finished downloading icons...")