Explorar el Código

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

Felix Paul Kühne hace 11 años
padre
commit
7de5ebf111
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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