Merge branch 'bugfix/account_native_testing' into 'develop'
Link Fix ### Summary Fix to Link Co-authored-by: Scott Pfeil <Scott.Pfeil3@verizonwireless.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/999
This commit is contained in:
commit
bab59e4e5d
@ -21,7 +21,7 @@ import VDSColorTokens
|
|||||||
else { return }
|
else { return }
|
||||||
|
|
||||||
// Set line to the same color as the text
|
// Set line to the same color as the text
|
||||||
if let color = titleLabel?.textColor?.cgColor {
|
if let color = titleColor(for: state)?.cgColor {
|
||||||
context.setStrokeColor(color)
|
context.setStrokeColor(color)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -12,6 +12,7 @@ import MVMCore
|
|||||||
public extension UINavigationController {
|
public extension UINavigationController {
|
||||||
|
|
||||||
/// Convenience function for setting the navigation item.
|
/// Convenience function for setting the navigation item.
|
||||||
|
@MainActor
|
||||||
func setNavigationItem(with model: NavigationItemModelProtocol, for viewController: UIViewController, coordinatingWith pageBehaviorController: PageBehaviorHandlerProtocol? = nil) {
|
func setNavigationItem(with model: NavigationItemModelProtocol, for viewController: UIViewController, coordinatingWith pageBehaviorController: PageBehaviorHandlerProtocol? = nil) {
|
||||||
|
|
||||||
let behaviorHandler = pageBehaviorController ?? viewController as? PageBehaviorHandlerProtocol;
|
let behaviorHandler = pageBehaviorController ?? viewController as? PageBehaviorHandlerProtocol;
|
||||||
@ -33,6 +34,7 @@ public extension UINavigationController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Convenience function for setting the navigation buttons.
|
/// Convenience function for setting the navigation buttons.
|
||||||
|
@MainActor
|
||||||
func setNavigationButtons(with model: NavigationItemModelProtocol, for viewController: UIViewController) {
|
func setNavigationButtons(with model: NavigationItemModelProtocol, for viewController: UIViewController) {
|
||||||
let delegate = (viewController as? MVMCoreViewControllerProtocol)?.delegateObject?() as? MVMCoreUIDelegateObject
|
let delegate = (viewController as? MVMCoreViewControllerProtocol)?.delegateObject?() as? MVMCoreUIDelegateObject
|
||||||
var leftItems: [UIBarButtonItem] = []
|
var leftItems: [UIBarButtonItem] = []
|
||||||
@ -60,6 +62,7 @@ public extension UINavigationController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Convenience function for setting the navigation titleView.
|
/// Convenience function for setting the navigation titleView.
|
||||||
|
@MainActor
|
||||||
func setNavigationTitleView(with model: NavigationItemModelProtocol, for viewController: UIViewController, coordinatingWith pageBehaviorController: PageBehaviorHandlerProtocol? = nil) {
|
func setNavigationTitleView(with model: NavigationItemModelProtocol, for viewController: UIViewController, coordinatingWith pageBehaviorController: PageBehaviorHandlerProtocol? = nil) {
|
||||||
guard let titleViewModel = model.titleView else { return }
|
guard let titleViewModel = model.titleView else { return }
|
||||||
|
|
||||||
@ -87,6 +90,7 @@ public extension UINavigationController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Convenience function for setting the navigation bar ui
|
/// Convenience function for setting the navigation bar ui
|
||||||
|
@MainActor
|
||||||
func setNavigationBarUI(with model: NavigationItemModelProtocol) {
|
func setNavigationBarUI(with model: NavigationItemModelProtocol) {
|
||||||
let navigationBar = navigationBar
|
let navigationBar = navigationBar
|
||||||
let font = Styler.Font.BoldTitleSmall.getFont(false)
|
let font = Styler.Font.BoldTitleSmall.getFont(false)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user