summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Beharry <justin.beharry@livio.io>2022-09-19 11:41:09 -0400
committerJustin Beharry <justin.beharry@livio.io>2022-09-19 11:41:09 -0400
commit34a43ef8e59d42abc718d6d364404c3be86a4d6c (patch)
tree9d4055d24ef510e67a0d65b5945405d6b4db993c
parentd481241b7dcf41592fad3f87dee16c8c686b9db3 (diff)
downloadsdl_ios-34a43ef8e59d42abc718d6d364404c3be86a4d6c.tar.gz
Remove unecessary code in update error state
-rw-r--r--SmartDeviceLink/private/SDLTextAndGraphicUpdateOperation.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLTextAndGraphicUpdateOperation.m b/SmartDeviceLink/private/SDLTextAndGraphicUpdateOperation.m
index 6f0680581..246e1a014 100644
--- a/SmartDeviceLink/private/SDLTextAndGraphicUpdateOperation.m
+++ b/SmartDeviceLink/private/SDLTextAndGraphicUpdateOperation.m
@@ -107,7 +107,6 @@ NSString *const SDLTextAndGraphicFailedScreenStateErrorKey = @"failedScreenState
self.updatedState.mediaTrackTextField = [errorState.mediaTrackTextField isEqualToString:self.updatedState.mediaTrackTextField] ? self.currentScreenData.mediaTrackTextField : self.updatedState.mediaTrackTextField;
self.updatedState.title = [errorState.title isEqualToString:self.updatedState.title] ? self.currentScreenData.title : self.updatedState.title;
self.updatedState.primaryGraphic = [errorState.primaryGraphic isEqual:self.updatedState.primaryGraphic] ? self.currentScreenData.primaryGraphic : self.updatedState.primaryGraphic;
- [errorState.primaryGraphic isEqual:self.updatedState.primaryGraphic];
self.updatedState.secondaryGraphic = [errorState.secondaryGraphic isEqual:self.updatedState.secondaryGraphic] ? self.currentScreenData.secondaryGraphic : self.updatedState.secondaryGraphic;
self.updatedState.alignment = [errorState.alignment isEqualToEnum:self.updatedState.alignment] ? self.currentScreenData.alignment : self.updatedState.alignment;
self.updatedState.textField1Type = [errorState.textField1Type isEqualToEnum:self.updatedState.textField1Type] ? self.currentScreenData.textField1Type : self.updatedState.textField1Type;