forked from shadowfacts/Tusker
Fix trending hashtag cells not adjusting to dynamic type
This commit is contained in:
parent
99b3532e64
commit
2b651b0bc4
|
@ -21,7 +21,9 @@ class TrendingHashtagCollectionViewCell: UICollectionViewCell {
|
|||
backgroundColor = .systemBackground
|
||||
|
||||
hashtagLabel.font = .preferredFont(forTextStyle: .title2)
|
||||
hashtagLabel.adjustsFontForContentSizeCategory = true
|
||||
peopleTodayLabel.font = .preferredFont(forTextStyle: .caption1)
|
||||
peopleTodayLabel.adjustsFontForContentSizeCategory = true
|
||||
|
||||
let vStack = UIStackView(arrangedSubviews: [
|
||||
hashtagLabel,
|
||||
|
|
Loading…
Reference in New Issue