Reapply "Update CustomPlayer.swift"

This reverts commit 03a6f5c79e.
This commit is contained in:
Francesco 2025-06-03 18:04:30 +02:00
parent 3ebe078507
commit dd4bb5f437

View file

@ -1839,11 +1839,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
}
@objc func dismissTapped() {
if let presentingViewController = self.presentingViewController {
presentingViewController.dismiss(animated: true, completion: nil)
} else {
dismiss(animated: true, completion: nil)
}
dismiss(animated: true, completion: nil)
}
@objc func watchNextTapped() {