mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
adding user to short circuit finding story
This commit is contained in:
parent
8308a2929f
commit
f4cb6e662a
2 changed files with 5 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue