summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Beharry <109764059+jshivabeharry@users.noreply.github.com>2022-09-19 11:33:47 -0400
committerGitHub <noreply@github.com>2022-09-19 11:33:47 -0400
commitd481241b7dcf41592fad3f87dee16c8c686b9db3 (patch)
tree0b55a275fa15a25da978e9197241ed4e0a085bcb
parente2c1c7f5f15752e841c69bf92086a227a21b3331 (diff)
downloadsdl_ios-d481241b7dcf41592fad3f87dee16c8c686b9db3.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 272956fe3..23a7a3df9 100644
--- a/SmartDeviceLink/private/SDLTextAndGraphicManager.m
+++ b/SmartDeviceLink/private/SDLTextAndGraphicManager.m
@@ -179,7 +179,7 @@ NS_ASSUME_NONNULL_BEGIN
// 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[SDLTextAndGraphicFailedScreenStateErrorKey];
- if (errorState) {
+ if (errorState != nil) {
[strongSelf sdl_updatePendingOperationsWithFailedScreenState:errorState];
}
}