mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-24 17:03:36 +08:00
background colors
This commit is contained in:
@@ -22,6 +22,8 @@ final class SegmentedControlCell: UICollectionViewCell {
|
||||
override init(frame: CGRect) {
|
||||
super.init(frame: frame)
|
||||
|
||||
contentView.backgroundColor = .white
|
||||
|
||||
segmentedControl.addTarget(self, action: #selector(SegmentedControlCell.didSelect(sender:)), for: .valueChanged)
|
||||
segmentedControl.tintColor = Styles.Colors.Blue.medium
|
||||
contentView.addSubview(segmentedControl)
|
||||
|
||||
Reference in New Issue
Block a user