Skip to content

Commit

Permalink
Fix issue WenchaoD#463
Browse files Browse the repository at this point in the history
  • Loading branch information
WenchaoD committed Oct 27, 2016
1 parent 15789aa commit f471392
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions FSCalendar/FSCalendar.m
Original file line number Diff line number Diff line change
Expand Up @@ -613,11 +613,6 @@ - (BOOL)collectionView:(UICollectionView *)collectionView shouldSelectItemAtInde
if (cell.date && [self isDateInRange:cell.date] && !_supressEvent) {
shouldSelect &= [self shouldSelectDate:cell.date];
}
if (shouldSelect) {
if (!self.allowsMultipleSelection && self.selectedDate) {
[self deselectDate:self.selectedDate];
}
}
return shouldSelect && [self isDateInRange:cell.date];
}

Expand Down

0 comments on commit f471392

Please sign in to comment.