Merge branch 'feature/3.0-TopNav-Style' into 'feature/develop_mvp_3'
Feature/3.0 top nav style See merge request BPHV_MIPS/mvm_core_ui!833
This commit is contained in:
commit
8007a0f822
@ -56,4 +56,13 @@ public extension MVMCoreUIUtility {
|
|||||||
|
|
||||||
return findViews(by: type, views: queue) + matching
|
return findViews(by: type, views: queue) + matching
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static func visibleNavigationBarStlye() -> NavigationItemStyle? {
|
||||||
|
if let vc = MVMCoreUIUtility.getCurrentVisibleController(),
|
||||||
|
let navController = NavigationController.navigationController(),
|
||||||
|
let navigationBar = navController.getNavigationModel(from: vc) as? NavigationItemModel {
|
||||||
|
return navigationBar.style
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user