Fix potential bug with matched geometry VC transition

This commit is contained in:
Shadowfacts 2024-02-21 10:31:40 -05:00
parent 527e7129af
commit 41481f465a
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ class MatchedGeometryDismissAnimationController<Content: View>: NSObject, UIView
animator.addCompletion { _ in
transitionContext.completeTransition(true)
matchedGeomVC.state.animating = false
matchedGeomVC.state.mode = .idle
}
animator.startAnimation()
}