Commit 1b847feb by Daniel Dahan

fixed isMotionEnabled check

parent e0089ce5
...@@ -124,9 +124,8 @@ extension UIViewController { ...@@ -124,9 +124,8 @@ extension UIViewController {
@IBInspectable @IBInspectable
public var isMotionEnabled: Bool { public var isMotionEnabled: Bool {
get { get {
return transitioningDelegate is Motion return transitioningDelegate is MotionTransition
} }
set(value) { set(value) {
guard value != isMotionEnabled else { guard value != isMotionEnabled else {
return 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