Fix label for non-mastodon-authors (IOS-284)

Sorry, non-mastodon-authors
This commit is contained in:
Nathan Mattes 2024-06-30 20:06:36 +02:00
parent 663bff6cb2
commit b3854f140b

View File

@ -102,6 +102,8 @@ public final class StatusCardControl: UIControl {
authorLabel = UILabel()
authorLabel.numberOfLines = 1
authorLabel.font = UIFontMetrics(forTextStyle: .subheadline).scaledFont(for: .systemFont(ofSize: 15, weight: .regular))
authorLabel.textColor = .secondaryLabel
publisherLabel.numberOfLines = 1
publisherLabel.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)