1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-25 15:17:19 +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.
if (_backup_and_restore_files(true, lbl_paths))
{
lv_label_set_text(lbl_status, "#FFDD00 Error:# Failed to back up files!");
if (part_info.backup_possible)
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;
}