Remove obsolete sidebar hiding code

This commit is contained in:
Maurice Parker 2019-09-10 17:08:11 -05:00
parent c470e56c39
commit 4fa9ec0828
1 changed files with 0 additions and 8 deletions

View File

@ -704,14 +704,6 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
installDetailController(detailViewController, automated: automated) installDetailController(detailViewController, automated: automated)
} }
// Automatically hide the overlay
if rootSplitViewController.displayMode == .primaryOverlay {
UIView.animate(withDuration: 0.3) {
self.rootSplitViewController.preferredDisplayMode = .primaryHidden
}
rootSplitViewController.preferredDisplayMode = .automatic
}
if automated { if automated {
masterTimelineViewController?.updateArticleSelection(animate: false) masterTimelineViewController?.updateArticleSelection(animate: false)
} }