Marino Faggiana 7 ani în urmă
părinte
comite
54271f5de6
1 a modificat fișierele cu 2 adăugiri și 5 ștergeri
  1. 2 5
      iOSClient/Photos/CCPhotos.m

+ 2 - 5
iOSClient/Photos/CCPhotos.m

@@ -608,11 +608,8 @@
         CCSectionDataSourceMetadata *tempSectionDataSource = [CCSectionMetadata creataDataSourseSectionMetadata:results listProgressMetadata:nil groupByField:@"date" activeAccount:appDelegate.activeAccount];
         
         dispatch_async(dispatch_get_main_queue(), ^{
-            // OPTIMIZED
-            //if (tempSectionDataSource.totalSize != _sectionDataSource.totalSize || tempSectionDataSource.files != _sectionDataSource.files) {
-                _sectionDataSource = [tempSectionDataSource copy];
-                [self reloadCollection];
-            //}
+            _sectionDataSource = [tempSectionDataSource copy];
+            [self reloadCollection];
         });
     });
 }