Refactors SourcesViewController from Main.storyboard to new Sources.storyboard

Also refactors BannerCollectionViewCell to AppBannerCollectionViewCell to support initializing from code.
This commit is contained in:
Riley Testut
2023-04-04 14:37:11 -05:00
committed by Magesh K
parent 20cd6d98fc
commit 5145e355ce
6 changed files with 199 additions and 163 deletions

View File

@@ -72,7 +72,7 @@ private extension AppIDsViewController
dataSource.cellConfigurationHandler = { (cell, appID, indexPath) in
let tintColor = UIColor.altPrimary
let cell = cell as! BannerCollectionViewCell
let cell = cell as! AppBannerCollectionViewCell
cell.layoutMargins.left = self.view.layoutMargins.left
cell.layoutMargins.right = self.view.layoutMargins.right
cell.tintColor = tintColor