From 25e82d828f8f74c019c56ae38fb6711715b93fc0 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 6 May 2023 14:33:05 -0400 Subject: [PATCH] Fix presented VC getting dismissed after closing expanded attachment view --- .../MatchedGeometryPresentation/View+PresentViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/View+PresentViewController.swift b/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/View+PresentViewController.swift index 47d283e0..3d176d10 100644 --- a/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/View+PresentViewController.swift +++ b/Packages/MatchedGeometryPresentation/Sources/MatchedGeometryPresentation/View+PresentViewController.swift @@ -56,6 +56,7 @@ private struct ViewControllerPresenter: UIViewControllerRepresentable { func presentationControllerWillDismiss(_ presentationController: UIPresentationController) { isPresented = false + didPresent = false } } }