1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-27 07:20:32 +05:30

Add tvOS option to disable captions

This commit is contained in:
Arkadiusz Fal 2022-09-11 18:45:43 +02:00
parent 01601176dd
commit 6ec59cf442

View File

@ -354,6 +354,8 @@ struct ControlsOverlay: View {
.frame(maxWidth: 320)
}
.contextMenu {
Button("Disabled") { captionsBinding.wrappedValue = nil }
ForEach(player.currentVideo?.captions ?? []) { caption in
Button(caption.description) { captionsBinding.wrappedValue = caption }
}