|
@@ -78,7 +78,8 @@ class NCMedia: UIViewController, NCEmptyDataSetDelegate, NCSelectDelegate {
|
|
|
collectionView.alwaysBounceVertical = true
|
|
|
collectionView.contentInset = UIEdgeInsets(top: 75, left: 0, bottom: 50, right: 0);
|
|
|
collectionView.backgroundColor = NCBrandColor.shared.systemBackground
|
|
|
-
|
|
|
+ collectionView.bounces = false
|
|
|
+
|
|
|
gridLayout = NCGridMediaLayout()
|
|
|
gridLayout.itemForLine = CGFloat(min(CCUtility.getMediaWidthImage(), 5))
|
|
|
gridLayout.sectionHeadersPinToVisibleBounds = true
|