Fix potential bug with matched geometry VC transition
This commit is contained in:
parent
527e7129af
commit
41481f465a
|
@ -225,6 +225,7 @@ class MatchedGeometryDismissAnimationController<Content: View>: NSObject, UIView
|
||||||
animator.addCompletion { _ in
|
animator.addCompletion { _ in
|
||||||
transitionContext.completeTransition(true)
|
transitionContext.completeTransition(true)
|
||||||
matchedGeomVC.state.animating = false
|
matchedGeomVC.state.animating = false
|
||||||
|
matchedGeomVC.state.mode = .idle
|
||||||
}
|
}
|
||||||
animator.startAnimation()
|
animator.startAnimation()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue