Skip to content

Commit fb6ac05

Browse files
author
Ole Zorn
committed
Show bottom toolbar when bookmarks are presented from DocSetViewController
1 parent b861038 commit fb6ac05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Classes/DocSetViewController.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,13 +354,11 @@ - (void)openNode:(NSManagedObject *)node
354354
childViewController.detailViewController = self.detailViewController;
355355
[self.navigationController pushViewController:childViewController animated:YES];
356356
} else {
357-
358357
if ([[node valueForKey:@"installDomain"] intValue] > 1) {
359358
NSURL *webURL = [docSet webURLForNode:node];
360359
[[UIApplication sharedApplication] openURL:webURL];
361360
return;
362361
}
363-
364362
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
365363
[self.detailViewController showNode:node inDocSet:docSet];
366364
} else {
@@ -376,6 +374,7 @@ - (void)showBookmarks:(id)sender
376374
BookmarksViewController *vc = [[BookmarksViewController alloc] initWithDocSet:self.docSet];
377375
vc.delegate = self;
378376
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:vc];
377+
navController.toolbarHidden = NO;
379378
[self presentModalViewController:navController animated:YES];
380379
}
381380

0 commit comments

Comments
 (0)