loader merge fixes

This commit is contained in:
MX 2023-09-11 15:31:11 +03:00
parent 67a681f8b8
commit b2042fd044
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83

View File

@ -303,7 +303,8 @@ static LoaderStatus loader_start_external_app(
FlipperApplicationPreloadStatus preload_res =
flipper_application_preload(loader->app.fap, path);
if(preload_res != FlipperApplicationPreloadStatusSuccess) {
if(preload_res == FlipperApplicationPreloadStatusApiMismatch) {
if((preload_res == FlipperApplicationPreloadStatusApiTooOld) ||
(preload_res == FlipperApplicationPreloadStatusApiTooNew)) {
if(!ignore_mismatch) {
DialogsApp* dialogs = furi_record_open(RECORD_DIALOGS);
DialogMessage* message = dialog_message_alloc();