Digital ACT-191 CXTDT-568422 defect: Calendar - DarkMode Legend icon fill using Light mode color

This commit is contained in:
vasavk 2024-06-14 22:04:25 +05:30
parent bec994e2d4
commit 69cdae8374
2 changed files with 3 additions and 2 deletions

View File

@ -224,7 +224,7 @@ private class LegendCollectionViewCell: UICollectionViewCell {
title.text = text title.text = text
title.textColor = textColorConfiguration.getColor(surface) title.textColor = textColorConfiguration.getColor(surface)
legendIndicator.backgroundColor = drawSemiCircle ? .clear : (clearFullcircle ? .clear : color) legendIndicator.backgroundColor = drawSemiCircle ? .clear : (clearFullcircle ? .clear : indicatorColorConfiguration.getColor(surface))
legendIndicator.layer.borderColor = indicatorColorConfiguration.getColor(surface).cgColor legendIndicator.layer.borderColor = indicatorColorConfiguration.getColor(surface).cgColor
self.layoutIfNeeded() self.layoutIfNeeded()
@ -239,7 +239,7 @@ private class LegendCollectionViewCell: UICollectionViewCell {
path.addArc(withCenter: center, radius: center.x, startAngle: 2 * .pi, endAngle: .pi, clockwise: true) path.addArc(withCenter: center, radius: center.x, startAngle: 2 * .pi, endAngle: .pi, clockwise: true)
path.close() path.close()
shapeLayer.path = path.cgPath shapeLayer.path = path.cgPath
shapeLayer.fillColor = color.cgColor shapeLayer.fillColor = indicatorColorConfiguration.getColor(surface).cgColor
guard legendIndicator.layer.sublayers?.contains(shapeLayer) ?? true else { return } guard legendIndicator.layer.sublayers?.contains(shapeLayer) ?? true else { return }
legendIndicator.layer.addSublayer(shapeLayer) legendIndicator.layer.addSublayer(shapeLayer)

View File

@ -3,6 +3,7 @@
- CXTDT-553663 - DropdownSelect - Accessibility - has popup - CXTDT-553663 - DropdownSelect - Accessibility - has popup
- CXTDT-568463 - Calendar - On long press, hover randomizes - CXTDT-568463 - Calendar - On long press, hover randomizes
- CXTDT-568412 - Calendar - Incorrect side nav icon size - CXTDT-568412 - Calendar - Incorrect side nav icon size
- CXTDT-568422 - Calendar - DarkMode Legend icon fill using Light mode color
1.0.66 1.0.66
---------------- ----------------