Skip to content

Commit

Permalink
Fix UITableCellSelectionStyle on end swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontrask committed Aug 29, 2015
1 parent eb803c9 commit 594b7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MGSwipeTableCell/MGSwipeTableCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ -(void) hideSwipeOverlayIfNeeded
self.selectionStyle = _previusSelectionStyle;
NSArray * selectedRows = self.parentTable.indexPathsForSelectedRows;
if ([selectedRows containsObject:[self.parentTable indexPathForCell:self]]) {
self.selected = NO;
self.selected = YES;
}
[self setAccesoryViewsHidden:NO];
Expand Down

0 comments on commit 594b7b3

Please sign in to comment.