Correct issue where launches in portrait on iPad could result in NNW getting confused about being in three panel mode

This commit is contained in:
Maurice Parker 2019-09-09 15:29:18 -05:00
parent 4e0b114a81
commit 122e7853a7
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
var isThreePanelMode: Bool {
return rootSplitViewController.traitCollection.userInterfaceIdiom == .pad &&
!rootSplitViewController.isCollapsed &&
rootSplitViewController.displayMode == .allVisible
UIDevice.current.orientation.isLandscape
}
var rootNode: Node {