Merge branch 'mbruce/bugfixes' into 'develop'
formatting and bug fix See merge request BPHV_MIPS/vds_ios!105
This commit is contained in:
commit
18fa46dc9a
@ -58,9 +58,9 @@ open class Label: UILabel, ViewProtocol, UserInfoable {
|
||||
|
||||
private var actions: [LabelAction] = [] {
|
||||
didSet {
|
||||
isUserInteractionEnabled = !actions.isEmpty
|
||||
if actions.isEmpty {
|
||||
tapGesture = nil
|
||||
isUserInteractionEnabled = true
|
||||
accessibilityTraits = .staticText
|
||||
} else {
|
||||
//add tap gesture
|
||||
|
||||
Loading…
Reference in New Issue
Block a user