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