Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <marino@marinofaggiana.com>2020-05-19 17:43:40 +0300
committermarinofaggiana <marino@marinofaggiana.com>2020-05-19 17:43:40 +0300
commit9fc8d193f5439335f83a2b0a946a0d0ba576dac6 (patch)
tree96d7b2a3dd4c1ed944092affe2444295f4d38c1f /iOSClient/PeekPop
parent4bda206ded0ac555ebd933408409169a4d6bfe69 (diff)
coding
Diffstat (limited to 'iOSClient/PeekPop')
-rw-r--r--iOSClient/PeekPop/CCPeekPop.m2
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];