mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 23:02:43 +01:00
fix player controls disabled on audio in other app
This commit is contained in:
@@ -225,16 +225,11 @@ const PlayerControls = () => {
|
||||
playPauseIcon = 'pause-circle'
|
||||
playPauseAction = pause
|
||||
break
|
||||
case State.Paused:
|
||||
default:
|
||||
disabled = false
|
||||
playPauseIcon = 'play-circle'
|
||||
playPauseAction = play
|
||||
break
|
||||
default:
|
||||
disabled = true
|
||||
playPauseIcon = 'play-circle'
|
||||
playPauseAction = undefined
|
||||
break
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user