diff --git a/iOS/RootSplitViewController.swift b/iOS/RootSplitViewController.swift index 63a1965ea..89fb623f3 100644 --- a/iOS/RootSplitViewController.swift +++ b/iOS/RootSplitViewController.swift @@ -15,9 +15,7 @@ class RootSplitViewController: UISplitViewController { override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { coordinator.animate(alongsideTransition: { [weak self] context in - if UIApplication.shared.applicationState != .background { - self?.coordinator.configureThreePanelMode(for: size) - } + self?.coordinator.configureThreePanelMode(for: size) }) } diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 61da29f00..3111419d1 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -910,7 +910,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { extension SceneCoordinator: UISplitViewControllerDelegate { func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool { - return masterTimelineViewController == nil + return currentArticle == nil } }