Fix layout constraint issue

This commit is contained in:
Marcus Kida 2024-10-09 11:37:53 +02:00
parent d7e983a217
commit 9dc130eeaf
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ public final class StatusCardControl: UIControl {
.constraint(lessThanOrEqualToConstant: 400), .constraint(lessThanOrEqualToConstant: 400),
] ]
dividerConstraint = dividerView.heightAnchor.constraint(equalToConstant: pixelSize).activate() dividerConstraint = dividerView.heightAnchor.constraint(equalToConstant: pixelSize).activate()
authorDividerConstraint = authorDivider.heightAnchor.constraint(equalToConstant: pixelSize).activate() authorDividerConstraint = authorDivider.heightAnchor.constraint(equalToConstant: pixelSize).priority(.defaultLow - 1).activate()
case .compact: case .compact:
containerStackView.alignment = .center containerStackView.alignment = .center
containerStackView.axis = .horizontal containerStackView.axis = .horizontal