Rename isThreePane to isThreePanelMode

This commit is contained in:
Maurice Parker 2019-07-27 14:25:10 -05:00
parent 59537c5705
commit e009a31ed7
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ class AppCoordinator: NSObject, UndoableCommandRunner {
return nil
}
private var isThreePane: Bool {
private var isThreePanelMode: Bool {
return !rootSplitViewController.isCollapsed && rootSplitViewController.displayMode == .allVisible
}
@ -867,7 +867,7 @@ private extension AppCoordinator {
}
func navControllerForTimeline() -> UINavigationController {
if isThreePane {
if isThreePanelMode {
let subSplit = ensureDoubleSplit()
return subSplit.viewControllers.first as! UINavigationController
} else {
@ -876,7 +876,7 @@ private extension AppCoordinator {
}
func targetSplitForDetail() -> UISplitViewController {
if isThreePane {
if isThreePanelMode {
return ensureDoubleSplit()
} else {
return rootSplitViewController