fixed bug in accessibilityLabel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
8757fe6147
commit
67e055878d
@ -114,6 +114,11 @@ open class ButtonBase: UIButton, ViewProtocol, UserInfoable, Clickable {
|
||||
titleLabel?.adjustsFontSizeToFitWidth = false
|
||||
titleLabel?.lineBreakMode = .byTruncatingTail
|
||||
titleLabel?.numberOfLines = 1
|
||||
|
||||
bridge_accessibilityLabelBlock = { [weak self] in
|
||||
guard let self else { return nil }
|
||||
return text
|
||||
}
|
||||
}
|
||||
|
||||
open func updateView() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user