crash fix
This commit is contained in:
parent
b2c8c16959
commit
066c532d9e
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user