We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf75a3 commit 8e999e1Copy full SHA for 8e999e1
internal_filesystem/apps/com.example.launcher/assets/launcher.py
@@ -31,10 +31,10 @@
31
image = lv.image(app_cont)
32
try:
33
with open(icon_path, 'rb') as f:
34
- png_data = f.read()
+ image_data = f.read()
35
image_dsc = lv.image_dsc_t({
36
- 'data_size': len(png_data),
37
- 'data': png_data
+ 'data_size': len(image_data),
+ 'data': image_data
38
})
39
image.set_src(image_dsc)
40
except Exception as e:
0 commit comments