1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-27 23:40:35 +05:30

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