Prevent unintended collapsing behavior

This commit is contained in:
Maurice Parker 2019-09-25 11:02:28 -05:00
parent 8b5cc817c6
commit 945f06be88
1 changed files with 1 additions and 1 deletions

View File

@ -896,7 +896,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 currentArticle == nil return masterTimelineViewController == nil
} }
} }