Permalink
Browse files

Another rollback. The number of photos were incorrect in the gallery

  • Loading branch information...
1 parent 61e9ed0 commit 1c69f0c38717ae209c4434ea79519025200d80ba @rogmabi committed Oct 6, 2011
Showing with 4 additions and 11 deletions.
  1. +4 −11 FGallery/Classes/FGalleryViewController.m
View
15 FGallery/Classes/FGalleryViewController.m
@@ -227,17 +227,10 @@ - (void)loadView
// create layer for the thumbnails
_isThumbViewShowing = NO;
- // let's do this in a new thread
- dispatch_queue_t buildViews = dispatch_queue_create("buildViews", NULL);
- dispatch_async(buildViews, ^{
- // tell thumbs that havent loaded to load
- // create the image views for each photo
- [self buildViews];
-
- // create the thumbnail views
- [self buildThumbsViewPhotos];
- });
- dispatch_release(buildViews);
+ [self buildViews];
+
+ // create the thumbnail views
+ [self buildThumbsViewPhotos];
// start loading thumbs
if ([_photoViews count]) {

0 comments on commit 1c69f0c

Please sign in to comment.