mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Fix lint issues
This commit is contained in:
@@ -356,7 +356,11 @@ final class MPVBackend: PlayerBackend {
|
||||
}
|
||||
|
||||
func togglePlay() {
|
||||
isPlaying ? pause() : play()
|
||||
if isPlaying {
|
||||
pause()
|
||||
} else {
|
||||
play()
|
||||
}
|
||||
}
|
||||
|
||||
func cancelLoads() {
|
||||
|
Reference in New Issue
Block a user