diff --git a/MVMCoreUI/Containers/NavigationController/NavigationController.swift b/MVMCoreUI/Containers/NavigationController/NavigationController.swift index 644dee73..9b4b332a 100644 --- a/MVMCoreUI/Containers/NavigationController/NavigationController.swift +++ b/MVMCoreUI/Containers/NavigationController/NavigationController.swift @@ -74,6 +74,9 @@ extension NavigationController: MVMCoreViewManagerProtocol { let model = getNavigationModel(from: viewController) { setNavigationItem(with: model, for: topViewController) setNavigationBarUI(with: model) + + navigationBar.setNeedsLayout() + navigationBar.layoutIfNeeded() } manager?.newDataReceived?(in: viewController) } @@ -84,6 +87,9 @@ extension NavigationController: MVMCoreViewManagerProtocol { let model = getNavigationModel(from: viewController) { setNavigationItem(with: model, for: topViewController) setNavigationBarUI(with: model) + + navigationBar.setNeedsLayout() + navigationBar.layoutIfNeeded() } manager?.willDisplay?(viewController) }