Skip to content

Commit

Permalink
Does not highlight cell of parent album
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyLB committed Aug 6, 2019
1 parent a52a64a commit b542671
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions piwigo/Albums/Image/Image Move/MoveImageViewController.m
Expand Up @@ -410,6 +410,14 @@ -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSI
return cell;
}

- (BOOL)tableView:(UITableView *)tableView shouldHighlightRowAtIndexPath:(NSIndexPath *)indexPath
{
PiwigoAlbumData *categoryData = [self.categories objectAtIndex:indexPath.row];
if ([self.selectedImage.categoryIds containsObject:@(categoryData.albumId)]) return NO;

return YES;
}


#pragma mark - UITableViewDelegate Methods

Expand Down

0 comments on commit b542671

Please sign in to comment.