diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-05-19 17:43:40 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-05-19 17:43:40 +0300 |
commit | 9fc8d193f5439335f83a2b0a946a0d0ba576dac6 (patch) | |
tree | 96d7b2a3dd4c1ed944092affe2444295f4d38c1f /iOSClient/PeekPop | |
parent | 4bda206ded0ac555ebd933408409169a4d6bfe69 (diff) |
coding
Diffstat (limited to 'iOSClient/PeekPop')
-rw-r--r-- | iOSClient/PeekPop/CCPeekPop.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iOSClient/PeekPop/CCPeekPop.m b/iOSClient/PeekPop/CCPeekPop.m index b15c314cd..7ae0cae0d 100644 --- a/iOSClient/PeekPop/CCPeekPop.m +++ b/iOSClient/PeekPop/CCPeekPop.m @@ -104,7 +104,7 @@ NSString *fileNamePath = [CCUtility returnFileNamePathFromFileName:self.metadata.fileName serverUrl:self.metadata.serverUrl activeUrl:appDelegate.activeUrl]; NSString *fileNameLocalPath = [CCUtility getDirectoryProviderStorageOcId:self.metadata.ocId fileNameView:self.metadata.fileNameView]; - [[NCCommunication shared] downloadPreviewWithServerUrl:appDelegate.activeUrl fileNamePath:fileNamePath fileNameLocalPath:fileNameLocalPath width:k_sizePreview height:k_sizePreview customUserAgent:nil addCustomHeaders:nil account:self.metadata.account completionHandler:^(NSString *account, NSData *data, NSInteger errorCode, NSString *errorDescription) { + [[NCCommunication shared] downloadPreviewWithFileNamePath:fileNamePath fileNameLocalPath:fileNameLocalPath width:k_sizePreview height:k_sizePreview customUserAgent:nil addCustomHeaders:nil account:self.metadata.account completionHandler:^(NSString *account, NSData *data, NSInteger errorCode, NSString *errorDescription) { if (errorCode == 0) { UIImage *image = [UIImage imageWithData:data]; |