Fix controller collapsing behavior

This commit is contained in:
Maurice Parker 2019-09-23 20:48:45 -05:00
parent cb394a2a61
commit cb1e8e393e
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
extension SceneCoordinator: UISplitViewControllerDelegate { extension SceneCoordinator: UISplitViewControllerDelegate {
func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool { func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool {
return true return currentArticle == nil
} }
} }