Give display priority to Display name over Username (IOS-140)

This commit is contained in:
Marcus Kida 2023-04-25 10:53:41 +02:00
parent fb4d5b9ea8
commit 3e14b9b6c5
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ extension UserView {
authorNameLabel.setContentCompressionResistancePriority(.defaultHigh, for: .horizontal)
authorUsernameLabel.setContentCompressionResistancePriority(.required - 1, for: .vertical)
authorUsernameLabel.setContentCompressionResistancePriority(.defaultHigh, for: .horizontal)
authorUsernameLabel.setContentCompressionResistancePriority(.defaultHigh - 1, for: .horizontal)
labelStackView.addArrangedSubview(nameStackView)