mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 00:22:12 +00:00
Update CustomPlayer.swift
This commit is contained in:
parent
194172c26d
commit
c59462f42d
1 changed files with 1 additions and 5 deletions
|
|
@ -1838,11 +1838,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func dismissTapped() {
|
@objc func dismissTapped() {
|
||||||
if let presentingViewController = self.presentingViewController {
|
dismiss(animated: true, completion: nil)
|
||||||
presentingViewController.dismiss(animated: true, completion: nil)
|
|
||||||
} else {
|
|
||||||
dismiss(animated: true, completion: nil)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func watchNextTapped() {
|
@objc func watchNextTapped() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue