mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 14:11:05 +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) {
|
||||
[self.dashboardViewController.storiesModule.storiesCollection
|
||||
transferStoriesFromCollection:self.feedDetailViewController.storiesCollection];
|
||||
self.dashboardViewController.storiesModule.feedPage = self.feedDetailViewController.feedPage + 1;
|
||||
[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);
|
||||
|
||||
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) {
|
||||
[appDelegate.masterContainerViewController interactiveTransitionFromFeedDetail:percentage];
|
||||
} else if (gesture.state == UIGestureRecognizerStateEnded) {
|
||||
|
|
Loading…
Add table
Reference in a new issue