Fixing issues with finding stories from interactions.

This commit is contained in:
Samuel Clay 2014-02-27 17:12:34 -08:00
parent ea28212ecb
commit 929d698d3c
2 changed files with 3 additions and 2 deletions

View file

@ -1275,6 +1275,7 @@ heightForRowAtIndexPath:(NSIndexPath *)indexPath {
UIInterfaceOrientationIsPortrait(orientation) &&
!self.isDashboardModule;
}
- (void)checkScroll {
NSInteger currentOffset = self.storyTitlesTable.contentOffset.y;
NSInteger maximumOffset = self.storyTitlesTable.contentSize.height - self.storyTitlesTable.frame.size.height;
@ -1286,7 +1287,7 @@ heightForRowAtIndexPath:(NSIndexPath *)indexPath {
if (maximumOffset - currentOffset <= 500.0 ||
(appDelegate.inFindingStoryMode)) {
if (storiesCollection.isRiverView) {
if (storiesCollection.isRiverView && storiesCollection.activeFolder) {
[self fetchRiverPage:storiesCollection.feedPage+1 withCallback:nil];
} else {
[self fetchFeedDetail:storiesCollection.feedPage+1 withCallback:nil];

View file

@ -217,7 +217,7 @@
if (readFilterPref) {
return readFilterPref;
} else if (self.isRiverView || self.isSocialRiverView) {
} else if (self.activeFolder && (self.isRiverView || self.isSocialRiverView)) {
if (readFilterFolderPrefDefault) {
return readFilterFolderPrefDefault;
} else {