Merge branch 'bugfix/CXTDT-472130' into 'develop'
Cart/Wishlist color fixes ### Summary Cart/Wishlist color fixes ### JIRA Ticket https://onejira.verizon.com/browse/CXTDT-472130 Co-authored-by: Scott Pfeil <Scott.Pfeil3@verizonwireless.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1007
This commit is contained in:
commit
5158deb36e
@ -119,7 +119,7 @@ public extension UINavigationController {
|
||||
setNavigationBarHidden(model.hidden, animated: true)
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@objc @MainActor
|
||||
func getViewController() -> UIViewController? {
|
||||
guard let topViewController = getViewControllers().last,
|
||||
let viewController = MVMCoreUIUtility.getViewControllerTraversingManagers(topViewController) else { return nil }
|
||||
|
||||
@ -57,9 +57,10 @@ public extension MVMCoreUIUtility {
|
||||
return findViews(by: type, views: queue) + matching
|
||||
}
|
||||
|
||||
@MainActor
|
||||
static func visibleNavigationBarStlye() -> NavigationItemStyle? {
|
||||
if let vc = MVMCoreUIUtility.getCurrentVisibleController(),
|
||||
let navController = NavigationController.navigationController(),
|
||||
if let navController = NavigationController.navigationController(),
|
||||
let vc = navController.getViewController(),
|
||||
let navigationBar = navController.getNavigationModel(from: vc) as? NavigationItemModel {
|
||||
return navigationBar.style
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user