Browse Source

Library: invalidate collection view layout when view will appear (closes #10061)

Felix Paul Kühne 11 years ago
parent
commit
7de5ebf111
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/VLCPlaylistViewController.m

+ 2 - 1
Sources/VLCPlaylistViewController.m

@@ -233,7 +233,8 @@
     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
         _tableView.separatorStyle = (_foundMedia.count > 0)? UITableViewCellSeparatorStyleSingleLine:
                                                              UITableViewCellSeparatorStyleNone;
-    }
+    } else
+        [self.collectionView.collectionViewLayout invalidateLayout];
 }
 
 - (void)libraryUpgradeComplete