remove instant backgounr color replacment
This commit is contained in:
parent
72c4974a43
commit
9805a5106c
|
|
@ -140,9 +140,7 @@ class SegmentioCell: UICollectionViewCell {
|
|||
segmentTitleLabel?.textColor = selected ? selectedState.titleTextColor : defaultState.titleTextColor
|
||||
segmentTitleLabel?.font = selected ? selectedState.titleFont : defaultState.titleFont
|
||||
}
|
||||
|
||||
backgroundColor = selected ? selectedState.backgroundColor : defaultState.backgroundColor
|
||||
|
||||
|
||||
if (style != .onlyLabel) {
|
||||
segmentImageView?.image = selected ? selectedImage : image
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue