From 1166c6e6394e70b4e3ee8993ffe9d95cf2a06190 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 30 Mar 2024 15:18:02 -0400 Subject: [PATCH] Fix gallery transition dimming view not being removed --- .../GalleryVC/GalleryPresentationAnimationController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Packages/GalleryVC/Sources/GalleryVC/GalleryPresentationAnimationController.swift b/Packages/GalleryVC/Sources/GalleryVC/GalleryPresentationAnimationController.swift index f844a33a..95ec8b28 100644 --- a/Packages/GalleryVC/Sources/GalleryVC/GalleryPresentationAnimationController.swift +++ b/Packages/GalleryVC/Sources/GalleryVC/GalleryPresentationAnimationController.swift @@ -102,6 +102,8 @@ class GalleryPresentationAnimationController: NSObject, UIViewControllerAnimated } animator.addCompletion { _ in + dimmingView.removeFromSuperview() + to.view.backgroundColor = .black if sourceToDestTransform != nil {