mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-05 09:09:46 +00:00
parent
7e9336d55b
commit
50640acb19
1 changed files with 5 additions and 1 deletions
|
|
@ -1838,7 +1838,11 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
}
|
||||
|
||||
@objc func dismissTapped() {
|
||||
dismiss(animated: true, completion: nil)
|
||||
if let presentingViewController = self.presentingViewController {
|
||||
presentingViewController.dismiss(animated: true, completion: nil)
|
||||
} else {
|
||||
dismiss(animated: true, completion: nil)
|
||||
}
|
||||
}
|
||||
|
||||
@objc func watchNextTapped() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue