Digital ACT191 defect CXTDT-561854 - Update font of navigation bar label button to BoldBodySmall

This commit is contained in:
Scott Pfeil 2024-05-23 12:00:28 -04:00
parent 3ee3644b6d
commit 7956a643cb

View File

@ -16,7 +16,7 @@
let actionObject = ActionDelegate() let actionObject = ActionDelegate()
let button = self.init(title: title, style: .plain, target: actionObject, action: #selector(actionObject.callActionBlock(_:))) let button = self.init(title: title, style: .plain, target: actionObject, action: #selector(actionObject.callActionBlock(_:)))
button.actionDelegate = actionObject button.actionDelegate = actionObject
button.setTitleTextAttributes([NSAttributedString.Key.font: Styler.Font.RegularBodySmall.getFont()], for: .normal) button.setTitleTextAttributes([NSAttributedString.Key.font: Styler.Font.BoldBodySmall.getFont()], for: .normal)
return button return button
} }