diff --git a/DrawerKit/DrawerKit/Internal API/AnimationController.swift b/DrawerKit/DrawerKit/Internal API/AnimationController.swift index f1aa4e7..201893d 100644 --- a/DrawerKit/DrawerKit/Internal API/AnimationController.swift +++ b/DrawerKit/DrawerKit/Internal API/AnimationController.swift @@ -28,7 +28,9 @@ extension AnimationController: UIViewControllerAnimatedTransitioning { func animateTransition(using transitionContext: UIViewControllerContextTransitioning) { let (presentingVC, presentedVC) = viewControllers(transitionContext, isPresentation) - if isPresentation { transitionContext.containerView.addSubview(presentedVC.view) } + if isPresentation { + transitionContext.containerView.addSubview(presentedVC.view) + } let duration = transitionDuration(using: transitionContext) let timingCurveProvider = configuration.timingCurveProvider