Change Watch page to recognize "paused" status as playable
This commit is contained in:
parent
6ee45e2935
commit
5292b069eb
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ var WatchPage = React.createClass({
|
|||
},
|
||||
updateLoadStatus: function() {
|
||||
lbry.getFileStatus(this.props.name, (status) => {
|
||||
if (!status || status.code != 'running' || status.written_bytes == 0) {
|
||||
if (!status || ['running', 'paused'].includes(status.code) || status.written_bytes == 0) {
|
||||
// Download hasn't started yet, so update status message (if available) then try again
|
||||
if (status) {
|
||||
this.setState({
|
||||
|
|
Loading…
Reference in a new issue