mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-19 20:34:19 -07:00
Fix fap loader build menu bootloop
This commit is contained in:
@@ -39,7 +39,7 @@ bool fap_loader_load_name_and_icon(
|
||||
|
||||
if(preload_res == FlipperApplicationPreloadStatusSuccess) {
|
||||
const FlipperApplicationManifest* manifest = flipper_application_get_manifest(app);
|
||||
if(manifest->has_icon && icon_ptr != NULL) {
|
||||
if(manifest->has_icon && icon_ptr != NULL && *icon_ptr != NULL) {
|
||||
memcpy(*icon_ptr, manifest->icon, FAP_MANIFEST_MAX_ICON_SIZE);
|
||||
}
|
||||
furi_string_set(item_name, manifest->name);
|
||||
|
||||
Reference in New Issue
Block a user