Add option "Close player on end of video"

Fix #442
This commit is contained in:
Arkadiusz Fal
2023-05-21 12:33:59 +02:00
parent c6798be167
commit 7d7bd40a89
4 changed files with 17 additions and 8 deletions

View File

@@ -158,6 +158,7 @@ extension Defaults.Keys {
#if !os(macOS)
static let pauseOnEnteringBackground = Key<Bool>("pauseOnEnteringBackground", default: true)
#endif
static let closeVideoOnEOF = Key<Bool>("closeVideoOnEOF", default: false)
static let closePiPOnNavigation = Key<Bool>("closePiPOnNavigation", default: false)
static let closePiPOnOpeningPlayer = Key<Bool>("closePiPOnOpeningPlayer", default: false)
#if !os(macOS)