Commit 1b612d46 by Orkhan Alikhanov

Fixed finishing interactive transition instead of canceling

parent c2ff80f2
......@@ -141,7 +141,6 @@ extension MotionTransition {
processEndTransitionDelegation(transitionContext: tContext, fromViewController: fvc, toViewController: tvc)
} else {
processCancelTransitionDelegation(transitionContext: tContext, fromViewController: fvc, toViewController: tvc)
tContext?.cancelInteractiveTransition()
}
tContext?.completeTransition(isFinishing)
......
......@@ -694,7 +694,7 @@ internal extension MotionTransition {
$0.motionDidCancelTransition?(motion: self)
}
transitionContext?.finishInteractiveTransition()
transitionContext?.cancelInteractiveTransition()
}
}
......
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