summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-10-23 15:43:39 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-10-23 15:43:39 -0400
commit1c347522e14f00ba14d62ee54626cce74fadad42 (patch)
tree0dcc9d9b1ec600ac34e428e7afbe5c21d1d61ed7
parentdb6476fda47698c8131c9e1d1499b957b5352c4f (diff)
downloadsdl_ios-feature/issue_1062_static_icon_sdlartwork_support.tar.gz
Fix never uploading choice secondary artwork properlyfeature/issue_1062_static_icon_sdlartwork_support
-rw-r--r--SmartDeviceLink/SDLPreloadChoicesOperation.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLPreloadChoicesOperation.m b/SmartDeviceLink/SDLPreloadChoicesOperation.m
index 9c89f3d7f..1e9be8ec9 100644
--- a/SmartDeviceLink/SDLPreloadChoicesOperation.m
+++ b/SmartDeviceLink/SDLPreloadChoicesOperation.m
@@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN
[artworksToUpload addObject:cell.artwork];
}
if ([self.displayCapabilities hasImageFieldOfName:SDLImageFieldNameChoiceSecondaryImage]
- && [self sdl_artworkNeedsUpload:cell.artwork]) {
+ && [self sdl_artworkNeedsUpload:cell.secondaryArtwork]) {
[artworksToUpload addObject:cell.secondaryArtwork];
}
}