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:
commit
9e695f6b3f
@ -74,6 +74,9 @@ extension NavigationController: MVMCoreViewManagerProtocol {
|
|||||||
let model = getNavigationModel(from: viewController) {
|
let model = getNavigationModel(from: viewController) {
|
||||||
setNavigationItem(with: model, for: topViewController)
|
setNavigationItem(with: model, for: topViewController)
|
||||||
setNavigationBarUI(with: model)
|
setNavigationBarUI(with: model)
|
||||||
|
|
||||||
|
navigationBar.setNeedsLayout()
|
||||||
|
navigationBar.layoutIfNeeded()
|
||||||
}
|
}
|
||||||
manager?.newDataReceived?(in: viewController)
|
manager?.newDataReceived?(in: viewController)
|
||||||
}
|
}
|
||||||
@ -84,6 +87,9 @@ extension NavigationController: MVMCoreViewManagerProtocol {
|
|||||||
let model = getNavigationModel(from: viewController) {
|
let model = getNavigationModel(from: viewController) {
|
||||||
setNavigationItem(with: model, for: topViewController)
|
setNavigationItem(with: model, for: topViewController)
|
||||||
setNavigationBarUI(with: model)
|
setNavigationBarUI(with: model)
|
||||||
|
|
||||||
|
navigationBar.setNeedsLayout()
|
||||||
|
navigationBar.layoutIfNeeded()
|
||||||
}
|
}
|
||||||
manager?.willDisplay?(viewController)
|
manager?.willDisplay?(viewController)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user