fix miss clean
This commit is contained in:
parent
d7b39a8d0d
commit
8b09f8f2bd
@ -24,7 +24,9 @@ import Foundation
|
|||||||
super.setupView()
|
super.setupView()
|
||||||
line.setStyle(.thin)
|
line.setStyle(.thin)
|
||||||
contentView.addSubview(line)
|
contentView.addSubview(line)
|
||||||
NSLayoutConstraint.constraintPinSubview(line, pinTop: false, topConstant: 0, pinBottom: true, bottomConstant: 0, pinLeft: true, leftConstant: 0, pinRight: true, rightConstant: 0)
|
NSLayoutConstraint.pinViewBottom(toSuperview: line, useMargins: false, constant: 0).isActive = true
|
||||||
|
NSLayoutConstraint.pinViewLeft(toSuperview: line, useMargins: true, constant: 0).isActive = true
|
||||||
|
NSLayoutConstraint.pinViewRight(toSuperview: line, useMargins: true, constant: 0).isActive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func updateView(_ size: CGFloat) {
|
open override func updateView(_ size: CGFloat) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user