updated buttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
fa2d49c54e
commit
d866a4e3c3
@ -172,9 +172,7 @@ open class ButtonGroup: View, UICollectionViewDataSource, UICollectionViewDelega
|
||||
cell.subviews.forEach { $0.removeFromSuperview() }
|
||||
cell.addSubview(button)
|
||||
cell.buttonable = button
|
||||
button.pinLeading()
|
||||
button.pinTrailing()
|
||||
button.centerYAnchor.constraint(equalTo: cell.centerYAnchor).isActive = true
|
||||
button.pinToSuperView()
|
||||
return cell
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user