nyx: improve Nyx reload and auto reload

Check that Nyx exists and also improve detection when SD is removed.
This commit is contained in:
CTCaer committed 2025-04-30 08:40:25 +03:00
1 parent 4fff346150
commit 51512a30bd
3 files changed
+35 -13

No files matched your search

+1 -1
View File
@@ -432,7 +432,7 @@ static lv_res_t _save_theme_color_action(lv_obj_t *btn)
// Save nyx config.
create_nyx_config_entry(true);
reload_nyx();
reload_nyx(NULL, false);
return LV_RES_OK;
}