Merge branch 'mkirk/stop-media-playback'

pull/1/head
Michael Kirk 7 years ago
commit 8e72ac5ee7

@ -475,6 +475,7 @@ class MediaPageViewController: UIPageViewController, UIPageViewControllerDataSou
// Swapping mediaView for presentationView will be perceptible if we're not zoomed out all the way. // Swapping mediaView for presentationView will be perceptible if we're not zoomed out all the way.
// currentVC // currentVC
currentViewController.zoomOut(animated: true) currentViewController.zoomOut(animated: true)
currentViewController.stopAnyVideo()
guard let mediaGalleryDataSource = self.mediaGalleryDataSource else { guard let mediaGalleryDataSource = self.mediaGalleryDataSource else {
owsFail("\(logTag) in \(#function) mediaGalleryDataSource was unexpectedly nil") owsFail("\(logTag) in \(#function) mediaGalleryDataSource was unexpectedly nil")

Loading…
Cancel
Save