Closed rakuyoMo closed 1 month ago
Now in the code, when day.type is .empty, the following processing is performed:
day.type
.empty
guard day.type != .empty else { titleLabel.text = day.date?.titleForLocale(style.locale, formatter: style.headerScroll.weekdayFormatter).capitalized ... return }
titleLabel.text is not set using the style.headerScroll.titleDays property, it is only applied when it is not .empty
titleLabel.text
style.headerScroll.titleDays
I think this is an oversight, and this PR fixes it
Now in the code, when
day.type
is.empty
, the following processing is performed:titleLabel.text
is not set using thestyle.headerScroll.titleDays
property, it is only applied when it is not.empty
I think this is an oversight, and this PR fixes it