summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2018-05-14 11:09:31 -0400
committerNicoleYarroch <nicole@livio.io>2018-05-14 11:09:31 -0400
commit7878345384848002c6022c90523222b8a5af8f43 (patch)
treed654d3243bd6293713fd84eba4fbaf17a84cef2b
parent614f2ac4949650d60d9ce799fea981a922b996b6 (diff)
downloadsdl_ios-7878345384848002c6022c90523222b8a5af8f43.tar.gz
Removed premature image soft button upload fix
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--SmartDeviceLink/SDLSoftButtonManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLSoftButtonManager.m b/SmartDeviceLink/SDLSoftButtonManager.m
index 8918cb3b9..1ec9f3604 100644
--- a/SmartDeviceLink/SDLSoftButtonManager.m
+++ b/SmartDeviceLink/SDLSoftButtonManager.m
@@ -220,7 +220,7 @@ NS_ASSUME_NONNULL_BEGIN
SDLLogV(@"Soft button objects are nil, sending an empty array");
self.inProgressUpdate.softButtons = @[];
} else if (([self sdl_currentStateHasImages] && ![self sdl_allCurrentStateImagesAreUploaded])
- || (self.softButtonCapabilities ? !self.softButtonCapabilities.imageSupported : YES)) {
+ && (self.softButtonCapabilities ? !self.softButtonCapabilities.imageSupported : YES)) {
// The images don't yet exist on the head unit, or we cannot use images, send a text update if possible, otherwise, don't send anything yet
NSArray<SDLSoftButton *> *textOnlyButtons = [self sdl_textButtonsForCurrentState];
if (textOnlyButtons != nil) {