Give display priority to Display name over Username (IOS-140)
This commit is contained in:
parent
fb4d5b9ea8
commit
3e14b9b6c5
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue