Quellcode durchsuchen

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

Zev Eisenberg vor 6 Jahren
Ursprung
Commit
7d5b1287e5
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      Sources/MediaCategories/MediaCategoryViewController.swift

+ 1 - 0
Sources/MediaCategories/MediaCategoryViewController.swift

@@ -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
         }