Skip to content

Commit

Permalink
Style change.
Browse files Browse the repository at this point in the history
  • Loading branch information
wltrup committed Oct 16, 2017
1 parent 122463f commit f1338bf
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -30,7 +30,8 @@ extension DrawerDisplayController: UIViewControllerTransitioningDelegate {
if #available(iOS 11.0, *) {
guard isDrawerDraggable else { return nil }
return InteractionController(isPresentation: true,
presentingVC: presentingVC!, presentedVC: presentedVC)
presentingVC: presentingVC!,
presentedVC: presentedVC)
} else {
// On iOS 10, there seems to be a bug in UIKit that causes the interactive animation
// not to complete under the conditions we have here, in which case viewDidAppear
Expand All @@ -45,7 +46,8 @@ extension DrawerDisplayController: UIViewControllerTransitioningDelegate {
if #available(iOS 11.0, *) {
guard isDrawerDraggable else { return nil }
return InteractionController(isPresentation: false,
presentingVC: presentingVC!, presentedVC: presentedVC)
presentingVC: presentingVC!,
presentedVC: presentedVC)
} else {
// On iOS 10, there seems to be a bug in UIKit that causes the interactive animation
// not to complete under the conditions we have here, in which case viewDidAppear
Expand Down

0 comments on commit f1338bf

Please sign in to comment.