Fix trending hashtag cells not adjusting to dynamic type

This commit is contained in:
Shadowfacts 2023-01-22 17:18:53 -05:00
parent 99b3532e64
commit 2b651b0bc4
1 changed files with 2 additions and 0 deletions

View File

@ -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,