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
parent 8700694fb8
commit 3e70cfc996
6 changed files with 200 additions and 174 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