Rename isThreePane to isThreePanelMode
This commit is contained in:
parent
59537c5705
commit
e009a31ed7
|
@ -40,7 +40,7 @@ class AppCoordinator: NSObject, UndoableCommandRunner {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
private var isThreePane: Bool {
|
private var isThreePanelMode: Bool {
|
||||||
return !rootSplitViewController.isCollapsed && rootSplitViewController.displayMode == .allVisible
|
return !rootSplitViewController.isCollapsed && rootSplitViewController.displayMode == .allVisible
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -867,7 +867,7 @@ private extension AppCoordinator {
|
||||||
}
|
}
|
||||||
|
|
||||||
func navControllerForTimeline() -> UINavigationController {
|
func navControllerForTimeline() -> UINavigationController {
|
||||||
if isThreePane {
|
if isThreePanelMode {
|
||||||
let subSplit = ensureDoubleSplit()
|
let subSplit = ensureDoubleSplit()
|
||||||
return subSplit.viewControllers.first as! UINavigationController
|
return subSplit.viewControllers.first as! UINavigationController
|
||||||
} else {
|
} else {
|
||||||
|
@ -876,7 +876,7 @@ private extension AppCoordinator {
|
||||||
}
|
}
|
||||||
|
|
||||||
func targetSplitForDetail() -> UISplitViewController {
|
func targetSplitForDetail() -> UISplitViewController {
|
||||||
if isThreePane {
|
if isThreePanelMode {
|
||||||
return ensureDoubleSplit()
|
return ensureDoubleSplit()
|
||||||
} else {
|
} else {
|
||||||
return rootSplitViewController
|
return rootSplitViewController
|
||||||
|
|
Loading…
Reference in New Issue