mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes “Unable to satisfy constraints” Auto Layout warnings
This commit is contained in:
@@ -128,6 +128,7 @@ class BrowseViewController: UICollectionViewController, PeekPopPreviewing
|
||||
|
||||
self.titleStackView = UIStackView(arrangedSubviews: [self.titleSourceIconView, self.titleCategoryIconView, self.titleLabel])
|
||||
self.titleStackView.spacing = 4
|
||||
self.titleStackView.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
self.navigationItem.largeTitleDisplayMode = .never
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ private extension FeaturedViewController
|
||||
|
||||
let spacing = 10.0
|
||||
let interSectionSpacing = 30.0
|
||||
let titleSize = NSCollectionLayoutSize(widthDimension: .estimated(100), heightDimension: .estimated(20))
|
||||
let titleSize = NSCollectionLayoutSize(widthDimension: .estimated(100), heightDimension: .estimated(30))
|
||||
|
||||
switch section
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user