From ca8656be1b9899163dfca892b7c8cd244a2f5b87 Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 22 Jun 2021 17:26:49 +0800 Subject: [PATCH] fix: icon can be compressed issue in search scene --- .../SearchRecommendTagsCollectionViewCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Search/CollectionViewCell/SearchRecommendTagsCollectionViewCell.swift b/Mastodon/Scene/Search/CollectionViewCell/SearchRecommendTagsCollectionViewCell.swift index 3048037c..e555e1fa 100644 --- a/Mastodon/Scene/Search/CollectionViewCell/SearchRecommendTagsCollectionViewCell.swift +++ b/Mastodon/Scene/Search/CollectionViewCell/SearchRecommendTagsCollectionViewCell.swift @@ -112,7 +112,7 @@ extension SearchRecommendTagsCollectionViewCell { flameIconView.translatesAutoresizingMaskIntoConstraints = false horizontalStackView.addArrangedSubview(flameIconView) - + flameIconView.setContentHuggingPriority(.required - 1, for: .horizontal) containerStackView.addArrangedSubview(horizontalStackView) peopleLabel.translatesAutoresizingMaskIntoConstraints = false