crash fix

This commit is contained in:
Pfeil, Scott Robert 2020-08-14 18:22:57 -04:00
parent b2c8c16959
commit 066c532d9e

View File

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