Commit 7d5b1287 authored by Zev Eisenberg's avatar Zev Eisenberg Committed by Carola

Inset the collection view content from the safe area. Fixes #352.

parent f66638d1
...@@ -102,6 +102,7 @@ class VLCMediaCategoryViewController: UICollectionViewController, UICollectionVi ...@@ -102,6 +102,7 @@ class VLCMediaCategoryViewController: UICollectionViewController, UICollectionVi
collectionView?.backgroundColor = PresentationTheme.current.colors.background collectionView?.backgroundColor = PresentationTheme.current.colors.background
collectionView?.alwaysBounceVertical = true collectionView?.alwaysBounceVertical = true
if #available(iOS 11.0, *) { if #available(iOS 11.0, *) {
collectionView?.contentInsetAdjustmentBehavior = .always
// collectionView?.dragDelegate = dragAndDropManager // collectionView?.dragDelegate = dragAndDropManager
// collectionView?.dropDelegate = dragAndDropManager // collectionView?.dropDelegate = dragAndDropManager
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment