Skip to content

Commit

Permalink
Don't add topSeparator when style=UITableViewStyleGrouped.
Browse files Browse the repository at this point in the history
  • Loading branch information
inamiy committed Nov 28, 2013
1 parent cdd73c5 commit e2dba2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/UITableView+iOS7TableTopSeparator.m
Expand Up @@ -56,6 +56,7 @@ - (void)_removeTopSeparatorViewIfPossible
- (void)_addTopSeparatorViewIfPossible
{
if (!self.showsIOS7TopSeparator) return;
if (self.style == UITableViewStyleGrouped) return;
if ([self numberOfSections] == 0) return;
if ([self numberOfRowsInSection:0] == 0) return;

Expand Down

0 comments on commit e2dba2b

Please sign in to comment.