This commit is contained in:
Francesco 2025-06-03 20:43:11 +02:00
parent 46d95975fe
commit f04638ccf3

View file

@ -2499,7 +2499,9 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
switch gesture.state {
case .ended:
if translation.y > 100 {
dismiss(animated: true, completion: nil)
dismiss(animated: true) { [weak self] in
self?.detachedWindow = nil
}
}
default:
break