push code reduction
This commit is contained in:
parent
324f3850f6
commit
aaca958335
@ -305,7 +305,7 @@ public typealias ActionBlockConfirmation = () -> (Bool)
|
||||
|
||||
override open func accessibilityActivate() -> Bool {
|
||||
// Hold state in case User wanted isAnimated to remain off.
|
||||
guard isUserInteractionEnabled == true else { return false }
|
||||
guard isUserInteractionEnabled else { return false }
|
||||
let isAnimatedState = isAnimated
|
||||
isAnimated = false
|
||||
sendActions(for: .touchUpInside)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user