summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-08-31 16:28:58 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-08-31 16:28:58 -0400
commitbc330333b611f841801aa3dadb07e63ace0a6158 (patch)
tree7e44bc2438e65657e96fc12ae54c6fdb12f62115
parent7588d4398bd04c48282dacecc77cb1eeeceb65f5 (diff)
downloadsdl_ios-bugfix/issue-1749-refactor-t-g-manager-queues.tar.gz
Fix checking before sending secondary graphicbugfix/issue-1749-refactor-t-g-manager-queues
-rw-r--r--SmartDeviceLink/SDLTextAndGraphicUpdateOperation.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLTextAndGraphicUpdateOperation.m b/SmartDeviceLink/SDLTextAndGraphicUpdateOperation.m
index 16267190c..dd70bda0f 100644
--- a/SmartDeviceLink/SDLTextAndGraphicUpdateOperation.m
+++ b/SmartDeviceLink/SDLTextAndGraphicUpdateOperation.m
@@ -444,7 +444,7 @@ NS_ASSUME_NONNULL_BEGIN
if ([[SDLGlobals sharedGlobals].rpcVersion isGreaterThanOrEqualToVersion:[SDLVersion versionWithMajor:5 minor:0 patch:0]]) {
return (templateSupportsSecondaryArtwork && !graphicMatchesExisting && graphicExists);
} else {
- return [self.currentCapabilities hasImageFieldOfName:SDLImageFieldNameGraphic];
+ return ([self.currentCapabilities hasImageFieldOfName:SDLImageFieldNameGraphic] && !graphicMatchesExisting && graphicExists);
}
}