mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-09 20:19:58 +02:00
add "stopped" playback state and event handlers
This commit is contained in:
@@ -203,7 +203,7 @@ const CenterPlayButton = ({ disabled }: { disabled?: boolean }) => {
|
||||
return (
|
||||
<MainPlayButton
|
||||
disabled={disabled || currentSongId === undefined}
|
||||
isPaused={status === PlayerStatus.PAUSED}
|
||||
isPaused={status !== PlayerStatus.PLAYING}
|
||||
onClick={mediaTogglePlayPause}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user