diff --git a/.DS_Store b/.DS_Store index ee68a02c..0976b91c 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/nyx/nyx_gui/frontend/gui.c b/nyx/nyx_gui/frontend/gui.c index 6ef36859..2bb2b3e4 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -2010,7 +2010,7 @@ failed_sd_mount: return LV_RES_OK; } -// Fills buf with theme-colored brand text: "hekate | OmniNX X.X.X Pack" from manifest.ini, or "hekate" if missing. +// Fills buf with theme-colored brand text: "hekate | OmniNX " from manifest.ini, or "hekate" if missing. static void _get_home_brand_text(char *buf, size_t buf_size) { // SD is unmounted when the main menu is built; mount so we can read the manifest. @@ -2023,7 +2023,6 @@ static void _get_home_brand_text(char *buf, size_t buf_size) s_printf(buf, "%s%s", text_color, " hekate#"); return; } - const char *version = NULL; const char *pack = NULL; LIST_FOREACH_ENTRY(ini_sec_t, ini_sec, &ini_sections, link) { @@ -2031,9 +2030,7 @@ static void _get_home_brand_text(char *buf, size_t buf_size) continue; LIST_FOREACH_ENTRY(ini_kv_t, kv, &ini_sec->kvs, link) { - if (!strcmp(kv->key, "version")) - version = kv->val; - else if (!strcmp(kv->key, "current_pack")) + if (!strcmp(kv->key, "current_pack")) pack = kv->val; else if (!pack && !strcmp(kv->key, "channel_pack")) pack = kv->val; @@ -2041,12 +2038,12 @@ static void _get_home_brand_text(char *buf, size_t buf_size) break; } ini_free(&ini_sections); - if (!version || !pack) + if (!pack) { s_printf(buf, "%s%s", text_color, " hekate#"); return; } - s_printf(buf, "%s hekate | OmniNX %s %s#", text_color, pack, version); + s_printf(buf, "%s hekate | OmniNX %s#", text_color, pack); } static void _create_tab_home(lv_theme_t *th, lv_obj_t *parent)