Allow to remove video not fully opened

This commit is contained in:
Arkadiusz Fal 2022-12-20 23:22:40 +01:00
parent 859efb2dbe
commit c9dda5efb7

View File

@ -577,6 +577,7 @@ final class PlayerModel: ObservableObject {
func closeCurrentItem(finished: Bool = false) {
pause()
videoBeingOpened = nil
closing = true
controls.presentingControls = false