Browse Source

remove OPTIMIZATION on CCPhotos

Marino Faggiana 7 năm trước cách đây
mục cha
commit
8bf0ffbd36
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      iOSClient/Photos/CCPhotos.m

+ 2 - 2
iOSClient/Photos/CCPhotos.m

@@ -609,10 +609,10 @@
         
         dispatch_async(dispatch_get_main_queue(), ^{
             // OPTIMIZED
-            if (tempSectionDataSource.totalSize != _sectionDataSource.totalSize || tempSectionDataSource.files != _sectionDataSource.files) {
+            //if (tempSectionDataSource.totalSize != _sectionDataSource.totalSize || tempSectionDataSource.files != _sectionDataSource.files) {
                 _sectionDataSource = [tempSectionDataSource copy];
                 [self reloadCollection];
-            }
+            //}
         });
     });
 }