diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2017-01-04 14:48:10 -0500 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2017-01-04 14:48:10 -0500 |
commit | 1742c6102773b12a664b38161467faa6fb326ed4 (patch) | |
tree | 63be12c6263007391f15619250519a1b6b6f1811 /SmartDeviceLink/SDLUploadFileOperation.m | |
parent | 0af886ab83bd010c7be05f8889532d18fe981c59 (diff) | |
download | sdl_ios-1742c6102773b12a664b38161467faa6fb326ed4.tar.gz |
Added nullability annotation to SDLGlobals, and changed singleton name to fix issue with not being usable in swift.
Diffstat (limited to 'SmartDeviceLink/SDLUploadFileOperation.m')
-rw-r--r-- | SmartDeviceLink/SDLUploadFileOperation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLUploadFileOperation.m b/SmartDeviceLink/SDLUploadFileOperation.m index 313ece825..aaba69fc0 100644 --- a/SmartDeviceLink/SDLUploadFileOperation.m +++ b/SmartDeviceLink/SDLUploadFileOperation.m @@ -52,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)start { [super start]; - [self sdl_sendPutFiles:[self.class sdl_splitFile:self.fileWrapper.file mtuSize:[SDLGlobals globals].maxMTUSize] withCompletion:self.fileWrapper.completionHandler]; + [self sdl_sendPutFiles:[self.class sdl_splitFile:self.fileWrapper.file mtuSize:[SDLGlobals sharedGlobals].maxMTUSize] withCompletion:self.fileWrapper.completionHandler]; } - (void)sdl_sendPutFiles:(NSArray<SDLPutFile *> *)putFiles withCompletion:(SDLFileManagerUploadCompletionHandler)completion { |