Fix code formatting

This commit is contained in:
Maurice Parker 2019-08-02 04:23:41 -05:00
parent 7da1aacf28
commit 4f49a4bcf6
1 changed files with 0 additions and 4 deletions

View File

@ -601,19 +601,15 @@ class AppCoordinator: NSObject, UndoableCommandRunner {
extension AppCoordinator: UISplitViewControllerDelegate {
func splitViewController(_ svc: UISplitViewController, willChangeTo displayMode: UISplitViewController.DisplayMode) {
guard rootSplitViewController.traitCollection.userInterfaceIdiom == .pad else {
return
}
if rootSplitViewController.displayMode != .allVisible && displayMode == .allVisible {
transitionToThreePanelMode()
}
if rootSplitViewController.displayMode == .allVisible && displayMode != .allVisible {
transitionFromThreePanelMode()
}
}
func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool {