mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
moving the site title to the detail view for ipad
This commit is contained in:
parent
46930bd5bd
commit
4ea57a9276
1 changed files with 11 additions and 1 deletions
|
@ -72,7 +72,12 @@
|
|||
}
|
||||
|
||||
UIView *titleLabel = [appDelegate makeFeedTitle:appDelegate.activeFeed];
|
||||
self.navigationItem.titleView = titleLabel;
|
||||
|
||||
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
|
||||
appDelegate.detailViewController.navigationItem.titleView = titleLabel;
|
||||
} else {
|
||||
self.navigationItem.titleView = titleLabel;
|
||||
}
|
||||
|
||||
// Commenting out until training is ready...
|
||||
// UIBarButtonItem *trainBarButton = [UIBarButtonItem alloc];
|
||||
|
@ -507,6 +512,11 @@
|
|||
[appDelegate setActiveStory:[[appDelegate activeFeedStories] objectAtIndex:location]];
|
||||
[appDelegate setOriginalStoryCount:[appDelegate unreadCount]];
|
||||
[appDelegate loadStoryDetailView];
|
||||
|
||||
if(appDelegate.detailViewController.masterPopoverController.popoverVisible) {
|
||||
NSLog(@"popover visible");
|
||||
[appDelegate.detailViewController.masterPopoverController dismissPopoverAnimated:YES];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue