mirror of
https://github.com/yattee/yattee.git
synced 2024-12-15 06:40:32 +05:30
Fix toggle play command for tvOS
This commit is contained in:
parent
65621176f4
commit
6c0d6434e0
@ -158,6 +158,9 @@ struct VideoPlayerView: View {
|
|||||||
player.backend.seek(relative: .secondsInDefaultTimescale(10))
|
player.backend.seek(relative: .secondsInDefaultTimescale(10))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.onPlayPauseCommand {
|
||||||
|
player.togglePlay()
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
GeometryReader { geometry in
|
GeometryReader { geometry in
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user