Marino Faggiana 6 жил өмнө
parent
commit
77ebf3995e

+ 3 - 3
iOSClient/Favorites/CCFavorites.m

@@ -380,10 +380,10 @@
             [[NCManageDatabase sharedInstance] deletePhotosWithFileID:fileID];
             [appDelegate.activePhotos.fileIDHide addObject:fileID];
         }
-        
-        [self reloadDatasource];
-        [appDelegate.activeTransfers reloadDatasource];
     }
+    
+    [self reloadDatasource];
+    [appDelegate.activeTransfers reloadDatasource];
 }
 
 - (void)openWith:(tableMetadata *)metadata

+ 2 - 0
iOSClient/Main/CCMain.m

@@ -1098,7 +1098,9 @@
         
         // Synchronized
         if ([selector isEqualToString:selectorDownloadSynchronize]) {
+            
             [self reloadDatasource:serverUrl];
+            [appDelegate.activeFavorites reloadDatasource];
         }
         
         // open View File