Revert "test"

This reverts commit 7a380967ea.
This commit is contained in:
Francesco 2025-06-03 18:04:28 +02:00
parent 6d310eb6c8
commit 3ebe078507

View file

@ -1840,13 +1840,9 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
@objc func dismissTapped() {
if let presentingViewController = self.presentingViewController {
presentingViewController.dismiss(animated: true) { [weak self] in
self?.detachedWindow = nil
}
presentingViewController.dismiss(animated: true, completion: nil)
} else {
dismiss(animated: true) { [weak self] in
self?.detachedWindow = nil
}
dismiss(animated: true, completion: nil)
}
}