From 41481f465ac8ba57cd95c05cef1d0fd3fd7a9937 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 21 Feb 2024 10:31:40 -0500 Subject: [PATCH] Fix potential bug with matched geometry VC transition --- .../MatchedGeometryViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/MatchedGeometryViewController.swift b/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/MatchedGeometryViewController.swift index 76a34350..e4bd5d3d 100644 --- a/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/MatchedGeometryViewController.swift +++ b/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/MatchedGeometryViewController.swift @@ -225,6 +225,7 @@ class MatchedGeometryDismissAnimationController: NSObject, UIView animator.addCompletion { _ in transitionContext.completeTransition(true) matchedGeomVC.state.animating = false + matchedGeomVC.state.mode = .idle } animator.startAnimation() }