1
0
Fork 0

apps: launcher: Make app.ICON optional

This commit is contained in:
Daniel Thompson 2020-04-20 18:58:21 +01:00
parent e854998268
commit 8b2ba4e79c

View file

@ -66,7 +66,7 @@ class LauncherApp():
if not app:
return
draw.set_color(0xffff)
draw.blit(app.ICON, x+13, y+12)
draw.blit(app.ICON if 'ICON' in dir(app) else icons.app, x+13, y+12)
draw.set_color(0xbdb6)
draw.string(app.NAME, x, y+120-30, 120)