When we turn the device while watching a movie we don't get the safeareas did change event the calculation was therefor based on a wrong width. Relayouting in viewwillAppear fixes this issue (closes #524)
@@ -159,6 +159,8 @@ class VLCMediaCategoryViewController: UICollectionViewController, UICollectionVi
manager.start()
}
manager.presentingViewController = self
+ cachedCellSize = .zero
+ collectionView.collectionViewLayout.invalidateLayout()
@objc func themeDidChange() {