Watch: correct status check to look for "stopped" instead of "paused"

This commit is contained in:
Alex Liebowitz 2017-02-15 17:24:30 -05:00
parent 5292b069eb
commit f070baf914

View file

@ -20,7 +20,7 @@ var WatchPage = React.createClass({
},
updateLoadStatus: function() {
lbry.getFileStatus(this.props.name, (status) => {
if (!status || ['running', 'paused'].includes(status.code) || status.written_bytes == 0) {
if (!status || ['running', 'stopped'].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({