mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 02:33:27 +01:00
Reduces spacing between apps in BrowseViewController
This commit is contained in:
@@ -61,6 +61,9 @@ class BrowseViewController: UICollectionViewController, PeekPopPreviewing
|
|||||||
self.collectionView.dataSource = self.dataSource
|
self.collectionView.dataSource = self.dataSource
|
||||||
self.collectionView.prefetchDataSource = self.dataSource
|
self.collectionView.prefetchDataSource = self.dataSource
|
||||||
|
|
||||||
|
let collectionViewLayout = self.collectionViewLayout as! UICollectionViewFlowLayout
|
||||||
|
collectionViewLayout.minimumLineSpacing = 30
|
||||||
|
|
||||||
(self as PeekPopPreviewing).registerForPreviewing(with: self, sourceView: self.collectionView)
|
(self as PeekPopPreviewing).registerForPreviewing(with: self, sourceView: self.collectionView)
|
||||||
|
|
||||||
if let source = self.source
|
if let source = self.source
|
||||||
|
|||||||
Reference in New Issue
Block a user