apps: launcher: Make app.ICON optional
This commit is contained in:
parent
e854998268
commit
8b2ba4e79c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class LauncherApp():
|
||||||
if not app:
|
if not app:
|
||||||
return
|
return
|
||||||
draw.set_color(0xffff)
|
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.set_color(0xbdb6)
|
||||||
draw.string(app.NAME, x, y+120-30, 120)
|
draw.string(app.NAME, x, y+120-30, 120)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue