Skip to content

Commit

Permalink
Inset the collection view content from the safe area. Fixes #352.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zev Eisenberg authored and Carola committed Nov 22, 2018
1 parent f66638d commit 7d5b128
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/MediaCategories/MediaCategoryViewController.swift
Expand Up @@ -102,6 +102,7 @@ class VLCMediaCategoryViewController: UICollectionViewController, UICollectionVi
collectionView?.backgroundColor = PresentationTheme.current.colors.background
collectionView?.alwaysBounceVertical = true
if #available(iOS 11.0, *) {
collectionView?.contentInsetAdjustmentBehavior = .always
// collectionView?.dragDelegate = dragAndDropManager
// collectionView?.dropDelegate = dragAndDropManager
}
Expand Down

0 comments on commit 7d5b128

Please sign in to comment.