Merge branch 'mbruce/bugfixes' into 'develop'

formatting and bug fix

See merge request BPHV_MIPS/vds_ios!105
This commit is contained in:
Bruce, Matt R 2023-08-31 14:12:56 +00:00
commit 18fa46dc9a
26 changed files with 113 additions and 113 deletions

View File

@ -58,9 +58,9 @@ open class Label: UILabel, ViewProtocol, UserInfoable {
private var actions: [LabelAction] = [] { private var actions: [LabelAction] = [] {
didSet { didSet {
isUserInteractionEnabled = !actions.isEmpty
if actions.isEmpty { if actions.isEmpty {
tapGesture = nil tapGesture = nil
isUserInteractionEnabled = true
accessibilityTraits = .staticText accessibilityTraits = .staticText
} else { } else {
//add tap gesture //add tap gesture