Skip to content

Commit

Permalink
Code style fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
wltrup committed Nov 27, 2017
1 parent 0c57683 commit b5e3bd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DrawerKit/DrawerKit/Internal API/AnimationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5e3bd7

Please sign in to comment.