Fix verified link priority (IOS-140)

This commit is contained in:
Marcus Kida 2023-05-05 14:47:38 +02:00
parent 622953c649
commit 2f4ce19983
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ public final class UserView: UIView {
public let authorVerifiedLabel: MetaLabel = {
let label = MetaLabel(style: .profileFieldValue)
label.setContentCompressionResistancePriority(.defaultHigh - 2, for: .horizontal)
label.translatesAutoresizingMaskIntoConstraints = false
label.textAttributes = [
.font: UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 15, weight: .regular)),