You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix suggestion for out of the range cells being colored with cellTextColorToday color. Some cells that are not today are being "randomly" colored (more analysis needed). Obviously, with the fix, if today is out of the range it will not be colored.
func updateTextColor() {
if isSelected {
self.textLabel.textColor = style.cellSelectedTextColor
}
/*else if isToday {
self.textLabel.textColor = style.cellTextColorToday
//print(self.textLabel.text!)
}*/
else if isOutOfRange {
self.textLabel.textColor = style.cellColorOutOfRange
}
//added
else if isToday {
self.textLabel.textColor = style.cellTextColorToday
}
else if isAdjacent {
self.textLabel.textColor = style.cellColorAdjacent
}
else if isWeekend {
self.textLabel.textColor = style.cellTextColorWeekend
}
else {
self.textLabel.textColor = style.cellTextColorDefault
}
}
The text was updated successfully, but these errors were encountered:
Fix suggestion for out of the range cells being colored with cellTextColorToday color. Some cells that are not today are being "randomly" colored (more analysis needed). Obviously, with the fix, if today is out of the range it will not be colored.
The text was updated successfully, but these errors were encountered: