#1377 (mark as read for titles only)

- Easy fix, using a smaller offset if title only.
This commit is contained in:
David Sinclair 2020-10-26 20:05:14 -07:00
parent 0ff50f7edb
commit a433bfbc8d

View file

@ -1898,7 +1898,7 @@ heightForRowAtIndexPath:(NSIndexPath *)indexPath {
} }
CGPoint topRowPoint = self.storyTitlesTable.contentOffset; CGPoint topRowPoint = self.storyTitlesTable.contentOffset;
topRowPoint.y = topRowPoint.y + 80.f; topRowPoint.y = topRowPoint.y + (self.textSize != FeedDetailTextSizeTitleOnly ? 80.f : 60.f);
NSIndexPath *indexPath = [self.storyTitlesTable indexPathForRowAtPoint:topRowPoint]; NSIndexPath *indexPath = [self.storyTitlesTable indexPathForRowAtPoint:topRowPoint];
BOOL markReadOnScroll = self.isMarkReadOnScroll; BOOL markReadOnScroll = self.isMarkReadOnScroll;