From e8b97c6f4da576700ccdb379a4ed13f0c0a1b3f2 Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Wed, 20 Apr 2022 19:52:15 +0530 Subject: [PATCH] Updating navigation layout on display --- .../Containers/NavigationController/NavigationController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MVMCoreUI/Containers/NavigationController/NavigationController.swift b/MVMCoreUI/Containers/NavigationController/NavigationController.swift index b1f54e57..9b4b332a 100644 --- a/MVMCoreUI/Containers/NavigationController/NavigationController.swift +++ b/MVMCoreUI/Containers/NavigationController/NavigationController.swift @@ -87,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) }