Fix gallery transition dimming view not being removed

This commit is contained in:
Shadowfacts 2024-03-30 15:18:02 -04:00
parent eda552c7c9
commit 1166c6e639
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ class GalleryPresentationAnimationController: NSObject, UIViewControllerAnimated
} }
animator.addCompletion { _ in animator.addCompletion { _ in
dimmingView.removeFromSuperview()
to.view.backgroundColor = .black to.view.backgroundColor = .black
if sourceToDestTransform != nil { if sourceToDestTransform != nil {