From cb401ee3f082103fb1d4a8fb7ec608da2fca3766 Mon Sep 17 00:00:00 2001 From: Kyle Matthew Hedden Date: Mon, 6 Mar 2023 17:43:06 -0500 Subject: [PATCH] Fix prior commit. Allow error alerts if there isn't a full screen error. --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m index fb6bb64..5ff0ea8 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m @@ -523,8 +523,10 @@ // Display or finish if (error.errorScreenError || !loadObject.requestParameters.dontDisplayViewController) { error.silentError = NO; - loadObject.operation.alertToShow = NO; - loadObject.operation.errorForAlertToShow = nil; + if (error.errorScreenError || error.nativeDrivenErrorScreen) { // Suppress alert errors if there is a full screen error. + loadObject.operation.alertToShow = NO; + loadObject.operation.errorForAlertToShow = nil; + } [MVMCoreLoggingHandler addErrorToLog:error]; [MVMCoreLoadRequestOperation displayViewController:viewController loadObject:loadObject error:error]; } else {