forked from shadowfacts/Tusker
parent
3d1f506684
commit
d7be2048af
|
@ -247,7 +247,7 @@ final class NewMainTabBarViewController: BaseMainTabBarViewController {
|
|||
|
||||
private func embedInNavigationController(_ vc: UIViewController) -> UIViewController {
|
||||
if UIDevice.current.userInterfaceIdiom == .phone {
|
||||
return UINavigationController(rootViewController: vc)
|
||||
return EnhancedNavigationViewController(rootViewController: vc)
|
||||
} else {
|
||||
let nav = AdaptableNavigationController()
|
||||
nav.viewControllers = [vc]
|
||||
|
|
Loading…
Reference in New Issue