summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2022-09-21 17:02:35 -0400
committerJoel Fischer <joeljfischer@gmail.com>2022-09-21 17:02:35 -0400
commitb8219ba20f1ce524225c9a69a2f933e8ce40c1e4 (patch)
treea96017a42cf22eb4bbdc177fed8991198bffe1f2
parent3c6d4a016b8e06360e8d1bc827f4efc89c2d6149 (diff)
downloadsdl_ios-b8219ba20f1ce524225c9a69a2f933e8ce40c1e4.tar.gz
Issue 2109 - Fix wrong image name
-rw-r--r--SmartDeviceLink/private/SDLPresentAlertOperation.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLPresentAlertOperation.m b/SmartDeviceLink/private/SDLPresentAlertOperation.m
index 386b8d0a1..cb3cecde3 100644
--- a/SmartDeviceLink/private/SDLPresentAlertOperation.m
+++ b/SmartDeviceLink/private/SDLPresentAlertOperation.m
@@ -213,7 +213,7 @@ static const int SDLAlertSoftButtonCount = 4;
if ([self.fileManager fileNeedsUpload:object.currentState.artwork]) {
[artworksToBeUploaded addObject:object.currentState.artwork];
} else if ([self.fileManager hasUploadedFile:object.currentState.artwork] || object.currentState.artwork.isStaticIcon) {
- [self.uploadedImageNames addObject:self.alertView.icon.name];
+ [self.uploadedImageNames addObject:object.currentState.artwork.name];
}
}
}