From 122e7853a7c20e9de9134b8bb6661e6fb41b700f Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 9 Sep 2019 15:29:18 -0500 Subject: [PATCH] Correct issue where launches in portrait on iPad could result in NNW getting confused about being in three panel mode --- iOS/SceneCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 84eb4d66f..e4211a6e1 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -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 {