Display the download button for files that are not downloading and have

0 progress
This commit is contained in:
6ea86b96 2017-07-25 00:31:15 +07:00
parent 6967059c7e
commit 4745088eff
2 changed files with 5 additions and 1 deletions

View file

@ -31,6 +31,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
* Fixed files on downloaded tab not showing download progress
* Fixed downloading files that are deleted not being removed from the downloading list
* Fixed download progress bar not being cleared when a downloading file is deleted
* Fixed app thinking downloads with 0 progress were downloaded after restart
### Deprecated
*

View file

@ -118,7 +118,10 @@ class FileActions extends React.PureComponent {
/>
</div>
);
} else if (fileInfo === null && !downloading) {
} else if (
(fileInfo === null || (fileInfo && fileInfo.written_bytes === 0)) &&
!downloading
) {
if (!costInfo) {
content = <BusyMessage message={__("Fetching cost info")} />;
} else {