Limits paging app screenshots on FeaturedViewController to bottom of cell

Prioritizes paging featured apps over app screenshots.
This commit is contained in:
Riley Testut
2023-12-08 14:35:36 -06:00
parent 093b565b3b
commit 34aa94fe65
2 changed files with 63 additions and 0 deletions

View File

@@ -363,6 +363,7 @@ private extension FeaturedViewController
dataSource.cellConfigurationHandler = { cell, storeApp, indexPath in
let cell = cell as! AppCardCollectionViewCell
cell.configure(for: storeApp)
cell.prefersPagingScreenshots = false
cell.bannerView.button.addTarget(self, action: #selector(FeaturedViewController.performAppAction), for: .primaryActionTriggered)
cell.bannerView.sourceIconImageView.isHidden = true