summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Beharry <109764059+jshivabeharry@users.noreply.github.com>2022-09-19 11:33:37 -0400
committerGitHub <noreply@github.com>2022-09-19 11:33:37 -0400
commite2c1c7f5f15752e841c69bf92086a227a21b3331 (patch)
tree0fe8c447b3bbc86cb0241e8f14a709ffb6346cae
parent8180e65affca9258425cef1f016b36768c18c288 (diff)
downloadsdl_ios-e2c1c7f5f15752e841c69bf92086a227a21b3331.tar.gz
Update SmartDeviceLink/private/SDLTextAndGraphicManager.m
Co-authored-by: Joel Fischer <joeljfischer@gmail.com>
-rw-r--r--SmartDeviceLink/private/SDLTextAndGraphicManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLTextAndGraphicManager.m b/SmartDeviceLink/private/SDLTextAndGraphicManager.m
index 2945411a6..272956fe3 100644
--- a/SmartDeviceLink/private/SDLTextAndGraphicManager.m
+++ b/SmartDeviceLink/private/SDLTextAndGraphicManager.m
@@ -178,7 +178,7 @@ NS_ASSUME_NONNULL_BEGIN
} else if (error != nil) {
// Invalidate data that's different from our current screen data if a Show or SetDisplayLayout fails. This will prevent subsequent `Show`s from failing if the request failed due to the developer setting invalid data or subsequent `SetDisplayLayout`s from failing if the template is not supported on the module.
[strongSelf sdl_resetFieldsToCurrentScreenData];
- SDLTextAndGraphicState *errorState = [error.userInfo objectForKey:SDLTextAndGraphicFailedScreenStateErrorKey];
+ SDLTextAndGraphicState *errorState = error.userInfo[SDLTextAndGraphicFailedScreenStateErrorKey];
if (errorState) {
[strongSelf sdl_updatePendingOperationsWithFailedScreenState:errorState];
}