diff --git a/media/ios/Classes/FeedDetailViewController.m b/media/ios/Classes/FeedDetailViewController.m index 1c780d8ca..11bdae3b8 100644 --- a/media/ios/Classes/FeedDetailViewController.m +++ b/media/ios/Classes/FeedDetailViewController.m @@ -372,7 +372,7 @@ self.pageFetching = NO; // test for tryfeed - if (appDelegate.isTryFeed) { + if (appDelegate.isTryFeed && !self.foundTryFeed) { for (int i = 0; i < appDelegate.activeFeedStories.count; i++) { NSString *storyIdStr = [[appDelegate.activeFeedStories objectAtIndex:i] objectForKey:@"id"]; if ([storyIdStr isEqualToString:appDelegate.tryFeedStoryId]) { @@ -397,8 +397,6 @@ } } - - [self performSelector:@selector(checkScroll) withObject:nil afterDelay:0.2]; @@ -584,6 +582,9 @@ int location = [[[appDelegate activeFeedStoryLocations] objectAtIndex:indexPath.row] intValue]; [self loadStory:cell atRow:location]; } + + self.foundTryFeed = YES; + [MBProgressHUD hideHUDForView:appDelegate.splitStoryDetailNavigationController.view animated:YES]; } - (void)changeRowStyleToRead:(FeedDetailTableCell *)cell { diff --git a/media/ios/Classes/NewsBlurAppDelegate.m b/media/ios/Classes/NewsBlurAppDelegate.m index 2590c0e3f..c4c13e43f 100644 --- a/media/ios/Classes/NewsBlurAppDelegate.m +++ b/media/ios/Classes/NewsBlurAppDelegate.m @@ -425,7 +425,7 @@ NSDictionary *feed = [self.dictSocialFeeds objectForKey:feedId]; - [self setTryFeedStoryId:@"http://techcrunch.com/?p=576238"]; + [self setTryFeedStoryId:contentId]; [self setIsTryFeed:YES]; [self setIsSocialView:YES]; [self setActiveFeed:feed];