mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-03-25 09:25:47 +00:00
fix a bug where master VC was returned instead of detail VC
This commit is contained in:
parent
c91dd2a2b2
commit
8913110f9e
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@
|
|||
}
|
||||
|
||||
- (UINavigationController *)detailNavigationController {
|
||||
return self.viewControllers.lastObject;
|
||||
return self.viewControllers.count == 2 ? self.viewControllers.lastObject : nil;
|
||||
}
|
||||
|
||||
- (PostsViewController *)postsViewController {
|
||||
|
|
|
|||
Loading…
Reference in a new issue