mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-19 07:32:08 +00:00
parent
7e1d10aa08
commit
03a6f5c79e
1 changed files with 5 additions and 1 deletions
|
|
@ -1839,7 +1839,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