Commit 1b847feb by Daniel Dahan

fixed isMotionEnabled check

parent e0089ce5
......@@ -124,9 +124,8 @@ extension UIViewController {
@IBInspectable
public var isMotionEnabled: Bool {
get {
return transitioningDelegate is Motion
return transitioningDelegate is MotionTransition
}
set(value) {
guard value != isMotionEnabled else {
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment