mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Handling paging on any view when sycning dashboard with river.
This commit is contained in:
parent
be44b5dba4
commit
1d0f0bb45a
2 changed files with 6 additions and 4 deletions
|
@ -881,9 +881,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self.feedDetailViewController.storiesCollection.transferredFromDashboard) {
|
if (self.feedDetailViewController.storiesCollection.transferredFromDashboard) {
|
||||||
[self.dashboardViewController.storiesModule.storiesCollection
|
|
||||||
transferStoriesFromCollection:self.feedDetailViewController.storiesCollection];
|
|
||||||
self.dashboardViewController.storiesModule.feedPage = self.feedDetailViewController.feedPage + 1;
|
|
||||||
[self.dashboardViewController.storiesModule fadeSelectedCell];
|
[self.dashboardViewController.storiesModule fadeSelectedCell];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,7 +241,12 @@ static UIFont *userLabelFont;
|
||||||
// NSLog(@"back gesture: %d, %f - %f/%f", (int)gesture.state, percentage, point.x, viewWidth);
|
// NSLog(@"back gesture: %d, %f - %f/%f", (int)gesture.state, percentage, point.x, viewWidth);
|
||||||
|
|
||||||
if (gesture.state == UIGestureRecognizerStateBegan) {
|
if (gesture.state == UIGestureRecognizerStateBegan) {
|
||||||
[appDelegate.dashboardViewController.storiesModule fadeSelectedCell:NO];
|
if (appDelegate.storiesCollection.transferredFromDashboard) {
|
||||||
|
[appDelegate.dashboardViewController.storiesModule.storiesCollection
|
||||||
|
transferStoriesFromCollection:appDelegate.storiesCollection];
|
||||||
|
appDelegate.dashboardViewController.storiesModule.feedPage = appDelegate.feedDetailViewController.feedPage + 1;
|
||||||
|
[appDelegate.dashboardViewController.storiesModule fadeSelectedCell:NO];
|
||||||
|
}
|
||||||
} else if (gesture.state == UIGestureRecognizerStateChanged) {
|
} else if (gesture.state == UIGestureRecognizerStateChanged) {
|
||||||
[appDelegate.masterContainerViewController interactiveTransitionFromFeedDetail:percentage];
|
[appDelegate.masterContainerViewController interactiveTransitionFromFeedDetail:percentage];
|
||||||
} else if (gesture.state == UIGestureRecognizerStateEnded) {
|
} else if (gesture.state == UIGestureRecognizerStateEnded) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue