mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 09:28:15 +00:00
Merge branch 'main' into use-mpvkit
This commit is contained in:
@@ -357,7 +357,11 @@ final class MPVBackend: PlayerBackend {
|
||||
}
|
||||
|
||||
func togglePlay() {
|
||||
isPlaying ? pause() : play()
|
||||
if isPlaying {
|
||||
pause()
|
||||
} else {
|
||||
play()
|
||||
}
|
||||
}
|
||||
|
||||
func cancelLoads() {
|
||||
|
Reference in New Issue
Block a user