Clear calculated cache after resetting firstweekday

This commit is contained in:
WenchaoD 2017-01-04 15:36:16 +08:00
parent 89ff3c543f
commit 5a80eb19fe
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ typedef NS_ENUM(NSUInteger, FSCalendarOrientation) {
{
if (_firstWeekday != firstWeekday) {
_firstWeekday = firstWeekday;
[self.calculator reloadSections];
[self invalidateDateTools];
[self setNeedsConfigureAppearance];
if (self.hasValidateVisibleLayout) {