Merge pull request #388 from lbryio/file-actions-fix
Quick fix to stop an infinite loop
This commit is contained in:
commit
c972230df4
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class FileActions extends React.PureComponent {
|
|||
if (
|
||||
!downloading &&
|
||||
fileInfo &&
|
||||
!fileInfo.written_bytes &&
|
||||
!fileInfo.completed &&
|
||||
fileInfo.written_bytes !== false &&
|
||||
fileInfo.written_bytes < fileInfo.total_bytes
|
||||
) {
|
||||
restartDownload(uri, fileInfo.outpoint);
|
||||
|
|
Loading…
Reference in a new issue