Explorar el Código

fix favorite view

Marino Faggiana hace 8 años
padre
commit
773935108a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      iOSClient/Favorites/CCFavorites.m

+ 1 - 1
iOSClient/Favorites/CCFavorites.m

@@ -322,7 +322,7 @@
 
 - (void)downloadFileSuccess:(NSString *)fileID serverUrl:(NSString *)serverUrl selector:(NSString *)selector selectorPost:(NSString *)selectorPost
 {
-    _metadata = [[NCManageDatabase sharedInstance] getMetadataWithPredicate:[NSPredicate predicateWithFormat:@"fileID = %@)", fileID]];
+    _metadata = [[NCManageDatabase sharedInstance] getMetadataWithPredicate:[NSPredicate predicateWithFormat:@"fileID = %@", fileID]];
     
     if ([_metadata.typeFile isEqualToString: k_metadataTypeFile_compress]) {