mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-18 12:52:52 +00:00
play icon state fixed
This commit is contained in:
parent
93343bac1f
commit
a8975eed4b
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class PlayPauseButton extends React.Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
const icon = this.props.paused ? 'ic_play' : 'ic_pause';
|
||||
const icon = this.props.paused === null || this.props.paused ? 'ic_play' : 'ic_pause';
|
||||
return (
|
||||
<div className={classnames(this.props.className, { 'disabled': this.props.paused === null })} onClick={this.togglePaused}>
|
||||
<Icon className={'icon'} icon={icon} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue