Fixes incorrect Sources tab background color in dark mode

This commit is contained in:
Riley Testut
2023-10-19 13:39:15 -05:00
parent 253aff29e9
commit 8a0d27488e
3 changed files with 8 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ class NewsViewController: UICollectionViewController, PeekPopPreviewing
{
super.viewDidLoad()
self.collectionView.backgroundColor = .altBackground
self.prototypeCell = NewsCollectionViewCell.instantiate(with: NewsCollectionViewCell.nib!)
self.prototypeCell.contentView.translatesAutoresizingMaskIntoConstraints = false