diff --git a/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift b/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift index c0dc4941ae..9738e93ace 100644 --- a/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift +++ b/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift @@ -48,7 +48,7 @@ class LargeImageExpandAnimationController: NSObject, UIViewControllerAnimatedTra } let containerView = transitionContext.containerView - + containerView.addSubview(toVC.view) let finalVCFrame = transitionContext.finalFrame(for: toVC) guard let sourceView = toVC.animationSourceView, @@ -85,7 +85,6 @@ class LargeImageExpandAnimationController: NSObject, UIViewControllerAnimatedTra imageView.layer.maskedCorners = sourceView.layer.maskedCorners imageView.layer.masksToBounds = true - containerView.addSubview(toVC.view) containerView.addSubview(imageView) let duration = transitionDuration(using: transitionContext)