1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-08 11:31:44 +00:00

nyx: partition manager error message improvement

Inform user that there's an issue with bootloader folder when a partial backup is done during partitioning.
This commit is contained in:
CTCaer 2024-07-02 18:04:09 +03:00
parent 716cfbfbaf
commit aacae78420

View file

@ -1508,7 +1508,11 @@ static lv_res_t _create_mbox_start_partitioning(lv_obj_t *btn)
// Do full or hekate/Nyx backup. // Do full or hekate/Nyx backup.
if (_backup_and_restore_files(true, lbl_paths)) if (_backup_and_restore_files(true, lbl_paths))
{ {
if (part_info.backup_possible)
lv_label_set_text(lbl_status, "#FFDD00 Error:# Failed to back up files!"); lv_label_set_text(lbl_status, "#FFDD00 Error:# Failed to back up files!");
else
lv_label_set_text(lbl_status, "#FFDD00 Error:# Failed to back up files!\nBootloader folder exceeds 1GB or corrupt!");
goto error; goto error;
} }