mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-31 07:38:39 +00:00
disabled flag fixed in play pause button
This commit is contained in:
parent
f156416f82
commit
47b688a5d6
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ const PlayPauseButton = ({ className, paused, dispatch }) => {
|
|||
}
|
||||
}, [paused, dispatch]);
|
||||
return (
|
||||
<Button className={classnames(className, { 'disabled': paused === null })} tabIndex={-1} onClick={togglePaused}>
|
||||
<Button className={classnames(className, { 'disabled': typeof paused !== 'boolean' })} tabIndex={-1} onClick={togglePaused}>
|
||||
<Icon
|
||||
className={'icon'}
|
||||
icon={typeof paused !== 'boolean' || paused ? 'ic_play' : 'ic_pause'}
|
||||
|
|
|
|||
Loading…
Reference in a new issue