mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Allow to remove video not fully opened
This commit is contained in:
parent
859efb2dbe
commit
c9dda5efb7
@ -577,6 +577,7 @@ final class PlayerModel: ObservableObject {
|
|||||||
|
|
||||||
func closeCurrentItem(finished: Bool = false) {
|
func closeCurrentItem(finished: Bool = false) {
|
||||||
pause()
|
pause()
|
||||||
|
videoBeingOpened = nil
|
||||||
|
|
||||||
closing = true
|
closing = true
|
||||||
controls.presentingControls = false
|
controls.presentingControls = false
|
||||||
|
Loading…
Reference in New Issue
Block a user