From 67271c479ca0811285e8479682777334a8be728f Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Thu, 19 Oct 2023 16:13:36 -0500 Subject: [PATCH] Reduces spacing between apps in BrowseViewController --- AltStore/Browse/BrowseViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AltStore/Browse/BrowseViewController.swift b/AltStore/Browse/BrowseViewController.swift index 748ab0cb..c4dde587 100644 --- a/AltStore/Browse/BrowseViewController.swift +++ b/AltStore/Browse/BrowseViewController.swift @@ -64,6 +64,9 @@ class BrowseViewController: UICollectionViewController, PeekPopPreviewing self.collectionView.dataSource = 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) if let source = self.source