From f471392f19d5d74dbf2e0cc0654d458365fae10c Mon Sep 17 00:00:00 2001 From: Wenchao Ding Date: Thu, 27 Oct 2016 10:01:46 +0800 Subject: [PATCH] Fix issue #463 --- FSCalendar/FSCalendar.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/FSCalendar/FSCalendar.m b/FSCalendar/FSCalendar.m index 9b75522c..2975d659 100644 --- a/FSCalendar/FSCalendar.m +++ b/FSCalendar/FSCalendar.m @@ -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]; }