Skip to content

Commit

Permalink
[Nyx] Fix icon loading for payload entries
Browse files Browse the repository at this point in the history
+ Add missing resources
  • Loading branch information
CTCaer committed Jun 30, 2019
1 parent 7cd545a commit e6d1a31
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nyx/nyx_gui/frontend/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -1582,15 +1582,9 @@ static lv_res_t _create_window_home_launch(lv_obj_t *btn)
LIST_FOREACH_ENTRY(ini_kv_t, kv, &ini_sec->kvs, link)
{
if (!strcmp("icon", kv->key))
{
icon_path = kv->val;
break;
}
else if (!strcmp("payload", kv->key))
{
payload = true;
break;
}
}

// If icon not found, check res folder for section_name.bmp.
Expand Down
Binary file added nyx/res/icon_lakka.bmp
Binary file not shown.
Binary file added nyx/res/icon_payload.bmp
Binary file not shown.
Binary file added nyx/res/icon_switch.bmp
Binary file not shown.

0 comments on commit e6d1a31

Please sign in to comment.