Fix download progress for recontructing files

This commit is contained in:
6ea86b96 2017-05-31 11:31:08 +04:00
parent 7d9621f850
commit fa66f4e918
2 changed files with 2 additions and 2 deletions

View file

@ -166,6 +166,8 @@ export function doDownloadFile(uri, streamInfo) {
fileInfo, fileInfo,
} }
}) })
dispatch(doUpdateLoadStatus(uri, streamInfo.outpoint))
}) })
lbryio.call('file', 'view', { lbryio.call('file', 'view', {
@ -176,7 +178,6 @@ export function doDownloadFile(uri, streamInfo) {
rewards.claimEligiblePurchaseRewards() rewards.claimEligiblePurchaseRewards()
dispatch(doUpdateLoadStatus(uri, streamInfo.outpoint))
} }
} }

View file

@ -110,7 +110,6 @@ class FileActions extends React.Component {
content = <Link label="Open" button="text" icon="icon-folder-open" onClick={() => openInShell(fileInfo)} />; content = <Link label="Open" button="text" icon="icon-folder-open" onClick={() => openInShell(fileInfo)} />;
} else { } else {
console.log('handle this case of file action props?'); console.log('handle this case of file action props?');
console.log(this.props)
} }
return ( return (