[Nyx] Fix icon loading for payload entries

+ Add missing resources
This commit is contained in:
ctcaer@gmail.com 2019-06-30 06:12:31 +03:00
parent 7cd545a124
commit e6d1a31045
4 changed files with 0 additions and 6 deletions

View file

@ -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) LIST_FOREACH_ENTRY(ini_kv_t, kv, &ini_sec->kvs, link)
{ {
if (!strcmp("icon", kv->key)) if (!strcmp("icon", kv->key))
{
icon_path = kv->val; icon_path = kv->val;
break;
}
else if (!strcmp("payload", kv->key)) else if (!strcmp("payload", kv->key))
{
payload = true; payload = true;
break;
}
} }
// If icon not found, check res folder for section_name.bmp. // If icon not found, check res folder for section_name.bmp.

BIN
nyx/res/icon_lakka.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

BIN
nyx/res/icon_payload.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

BIN
nyx/res/icon_switch.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB