summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-07-31 12:58:48 -0400
committerGitHub <noreply@github.com>2019-07-31 12:58:48 -0400
commit6b896946693cd6a7efc5c5afd678c6cadebf8638 (patch)
tree36bdd8f5f0dc8a956e695f5a5b1656883b264c8d
parentd6d61887c7631238b0a19b934a24aa1e0021f0fb (diff)
downloadsdl_ios-6b896946693cd6a7efc5c5afd678c6cadebf8638.tar.gz
Fix artwork name not being used in the example app
Co-Authored-By: justingluck93 <47197545+justingluck93@users.noreply.github.com>
-rw-r--r--Example Apps/Example ObjC/ButtonManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Example Apps/Example ObjC/ButtonManager.m b/Example Apps/Example ObjC/ButtonManager.m
index efa13ee36..1809249db 100644
--- a/Example Apps/Example ObjC/ButtonManager.m
+++ b/Example Apps/Example ObjC/ButtonManager.m
@@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN
if (buttonPress == nil) { return; }
[weakself.sdlManager.fileManager uploadArtwork:[SDLArtwork artworkWithImage:[UIImage imageNamed:CarBWIconImageName] asImageFormat:SDLArtworkImageFormatPNG] completionHandler:^(BOOL success, NSString * _Nonnull artworkName, NSUInteger bytesAvailable, NSError * _Nullable error) {
- [weakself.sdlManager sendRequest:[AlertManager alertWithMessageAndCloseButton:@"You pushed the soft button!" textField2:nil iconName:@"ABCDEFG"] withResponseHandler:^(__kindof SDLRPCRequest * _Nullable request, __kindof SDLRPCResponse * _Nullable response, NSError * _Nullable error) {
+ [weakself.sdlManager sendRequest:[AlertManager alertWithMessageAndCloseButton:@"You pushed the soft button!" textField2:nil iconName:artworkName] withResponseHandler:^(__kindof SDLRPCRequest * _Nullable request, __kindof SDLRPCResponse * _Nullable response, NSError * _Nullable error) {
NSLog(@"ALERT req: %@, res: %@, err: %@", request, response, error);
}];
}];