From a433bfbc8d893ae2a4ab87d35d0d5087d8fc2e17 Mon Sep 17 00:00:00 2001 From: David Sinclair Date: Mon, 26 Oct 2020 20:05:14 -0700 Subject: [PATCH] #1377 (mark as read for titles only) - Easy fix, using a smaller offset if title only. --- clients/ios/Classes/FeedDetailViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/ios/Classes/FeedDetailViewController.m b/clients/ios/Classes/FeedDetailViewController.m index 994a7e968..348b65565 100644 --- a/clients/ios/Classes/FeedDetailViewController.m +++ b/clients/ios/Classes/FeedDetailViewController.m @@ -1898,7 +1898,7 @@ heightForRowAtIndexPath:(NSIndexPath *)indexPath { } 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]; BOOL markReadOnScroll = self.isMarkReadOnScroll;