mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-04 16:49:44 +00:00
ops
This commit is contained in:
parent
46d95975fe
commit
f04638ccf3
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue