push code reduction

This commit is contained in:
Pfeil, Scott Robert 2020-06-25 13:48:45 -04:00
parent 324f3850f6
commit aaca958335

View File

@ -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)