summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLFileManager.m
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2018-03-01 16:35:38 -0500
committerNicoleYarroch <nicole@livio.io>2018-03-01 16:35:38 -0500
commitef61dad4610fc99e6fc534100c3a5b0c7e08d1c6 (patch)
tree4dc6c6d54df9278c90ac79f44319dbd524ebff14 /SmartDeviceLink/SDLFileManager.m
parentd3cf62b11adec7971e1446ec1046cbe97a12ccbb (diff)
downloadsdl_ios-ef61dad4610fc99e6fc534100c3a5b0c7e08d1c6.tar.gz
Fixed spelling in documentationfeature/issue_865_image_upload_manager
Diffstat (limited to 'SmartDeviceLink/SDLFileManager.m')
-rw-r--r--SmartDeviceLink/SDLFileManager.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLFileManager.m b/SmartDeviceLink/SDLFileManager.m
index f37dadd58..b12b6c9eb 100644
--- a/SmartDeviceLink/SDLFileManager.m
+++ b/SmartDeviceLink/SDLFileManager.m
@@ -445,13 +445,13 @@ SDLFileManagerState *const SDLFileManagerStateStartupError = @"StartupError";
if (![self isErrorACannotOverwriteError:[error.userInfo objectForKey:erroredArtworkName]]) {
[successfulArtworkUploadNames removeObject:erroredArtworkName];
} else {
- // An overwrite error means that the artwork is alread uploaded to the remote
+ // An overwrite error means that the artwork is already uploaded to the remote
[unsuccessfulArtworkUploadErrorUserInfo removeObjectForKey:erroredArtworkName];
}
}
}
- return completion(successfulArtworkUploadNames == nil || successfulArtworkUploadNames.count == 0 ? [NSArray array] : [NSArray arrayWithArray:[successfulArtworkUploadNames allObjects]], unsuccessfulArtworkUploadErrorUserInfo == nil || unsuccessfulArtworkUploadErrorUserInfo.count == 0 ? nil : [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:unsuccessfulArtworkUploadErrorUserInfo]);
+ return completion([NSArray arrayWithArray:[successfulArtworkUploadNames allObjects]], unsuccessfulArtworkUploadErrorUserInfo == nil || unsuccessfulArtworkUploadErrorUserInfo.count == 0 ? nil : [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:unsuccessfulArtworkUploadErrorUserInfo]);
}];
}