fix miss clean

This commit is contained in:
Pfeil, Scott Robert 2020-10-05 14:39:58 -04:00
parent d7b39a8d0d
commit 8b09f8f2bd

View File

@ -24,7 +24,9 @@ import Foundation
super.setupView()
line.setStyle(.thin)
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) {