mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Fix toggle play command for tvOS
This commit is contained in:
parent
a124a0c927
commit
7224b5e75f
@ -158,6 +158,9 @@ struct VideoPlayerView: View {
|
||||
player.backend.seek(relative: .secondsInDefaultTimescale(10))
|
||||
}
|
||||
}
|
||||
.onPlayPauseCommand {
|
||||
player.togglePlay()
|
||||
}
|
||||
#else
|
||||
GeometryReader { geometry in
|
||||
VStack(spacing: 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user