From 2b651b0bc4e576c3143cd97ccda2f85c3c7b508d Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 22 Jan 2023 17:18:53 -0500 Subject: [PATCH] Fix trending hashtag cells not adjusting to dynamic type --- .../Views/Hashtag Cell/TrendingHashtagCollectionViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tusker/Views/Hashtag Cell/TrendingHashtagCollectionViewCell.swift b/Tusker/Views/Hashtag Cell/TrendingHashtagCollectionViewCell.swift index 0c9d863a..c14a7272 100644 --- a/Tusker/Views/Hashtag Cell/TrendingHashtagCollectionViewCell.swift +++ b/Tusker/Views/Hashtag Cell/TrendingHashtagCollectionViewCell.swift @@ -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,