Merge pull request #570 from stonerl/close-fullscreen-on-end

add option to exit fullscreen on end
This commit is contained in:
Arkadiusz Fal
2024-08-24 12:16:26 +02:00
committed by GitHub
6 changed files with 32 additions and 6 deletions

View File

@@ -17,6 +17,10 @@ struct PlayerSettingsGroupImporter {
Defaults[.closeVideoOnEOF] = closeVideoOnEOF
}
if let exitFullscreenOnEOF = json["exitFullscreenOnEOF"].bool {
Defaults[.exitFullscreenOnEOF] = exitFullscreenOnEOF
}
if let expandVideoDescription = json["expandVideoDescription"].bool {
Defaults[.expandVideoDescription] = expandVideoDescription
}