Remain landscape after media dismiss

Now that we support landscape everywhere, there's no need to force portrait upon leaving media.
pull/1/head
Michael Kirk 7 years ago committed by Matthew Chen
parent c5cd52db06
commit 0f85e52ecf

@ -607,10 +607,10 @@ class MediaPageViewController: UIPageViewController, UIPageViewControllerDataSou
return return
} }
mediaGalleryDataSource.dismissMediaDetailViewController(self, animated: isAnimated) { mediaGalleryDataSource.dismissMediaDetailViewController(self,
UIDevice.current.ows_setOrientation(.portrait) animated: isAnimated,
completion?() completion: completion)
}
} }
// MARK: MediaDetailViewControllerDelegate // MARK: MediaDetailViewControllerDelegate

Loading…
Cancel
Save