Revert paddingView.pinToParent
This commit is contained in:
parent
9e65ccfd7e
commit
e56104c756
|
@ -83,8 +83,11 @@ final class PickServerServerSectionTableHeaderView: UIView {
|
|||
let paddingView = UIView()
|
||||
paddingView.translatesAutoresizingMaskIntoConstraints = false
|
||||
containerView.addSubview(paddingView)
|
||||
paddingView.pinToParent()
|
||||
NSLayoutConstraint.activate([
|
||||
paddingView.topAnchor.constraint(equalTo: containerView.topAnchor),
|
||||
paddingView.leadingAnchor.constraint(equalTo: imageView.trailingAnchor),
|
||||
paddingView.trailingAnchor.constraint(equalTo: containerView.trailingAnchor),
|
||||
paddingView.bottomAnchor.constraint(equalTo: containerView.bottomAnchor),
|
||||
paddingView.widthAnchor.constraint(equalToConstant: 4).priority(.defaultHigh),
|
||||
])
|
||||
return containerView
|
||||
|
|
|
@ -281,7 +281,7 @@ extension ProfileHeaderView {
|
|||
|
||||
followsYouVibrantEffectView.translatesAutoresizingMaskIntoConstraints = false
|
||||
followsYouBlurEffectView.contentView.addSubview(followsYouVibrantEffectView)
|
||||
followsYouVibrantEffectView.pinToParent()
|
||||
followsYouVibrantEffectView.pinTo(to: followsYouBlurEffectView)
|
||||
|
||||
followsYouLabel.translatesAutoresizingMaskIntoConstraints = false
|
||||
followsYouVibrantEffectView.contentView.addSubview(followsYouLabel)
|
||||
|
|
Loading…
Reference in New Issue