Merge branch 'bugfix/CXTDT-275665' into 'feature/develop_mvp_3'

Fix for navigation bar style update from webpage js bridge call

See merge request BPHV_MIPS/mvm_core_ui!842
This commit is contained in:
Pfeil, Scott Robert 2022-04-20 14:42:38 +00:00
commit 9e695f6b3f

View File

@ -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)
}