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:
parent
716cfbfbaf
commit
aacae78420
1 changed files with 5 additions and 1 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
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;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue