mirror of
https://github.com/yattee/yattee.git
synced 2025-04-26 16:46:29 +00:00
Add tvOS option to disable captions
This commit is contained in:
parent
01601176dd
commit
6ec59cf442
@ -354,6 +354,8 @@ struct ControlsOverlay: View {
|
|||||||
.frame(maxWidth: 320)
|
.frame(maxWidth: 320)
|
||||||
}
|
}
|
||||||
.contextMenu {
|
.contextMenu {
|
||||||
|
Button("Disabled") { captionsBinding.wrappedValue = nil }
|
||||||
|
|
||||||
ForEach(player.currentVideo?.captions ?? []) { caption in
|
ForEach(player.currentVideo?.captions ?? []) { caption in
|
||||||
Button(caption.description) { captionsBinding.wrappedValue = caption }
|
Button(caption.description) { captionsBinding.wrappedValue = caption }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user