Fix progress bars
Wasn't calling file_list with full_status to get total bytes (won't be needed after lbrynet DB refactor is merged)
This commit is contained in:
parent
cf3e83ee44
commit
5a0dc0b5c2
1 changed files with 4 additions and 1 deletions
|
@ -429,7 +429,10 @@ lbry._updateSubscribedFileInfo = function(outpoint) {
|
||||||
if (lbry._removedFiles.includes(outpoint)) {
|
if (lbry._removedFiles.includes(outpoint)) {
|
||||||
callSubscribedCallbacks(outpoint, false);
|
callSubscribedCallbacks(outpoint, false);
|
||||||
} else {
|
} else {
|
||||||
lbry.file_list({outpoint: outpoint}).then(([fileInfo]) => {
|
lbry.file_list({
|
||||||
|
outpoint: outpoint,
|
||||||
|
full_status: true,
|
||||||
|
}).then(([fileInfo]) => {
|
||||||
if (fileInfo) {
|
if (fileInfo) {
|
||||||
if (this._claimIdOwnershipCache[fileInfo.claim_id] === undefined) {
|
if (this._claimIdOwnershipCache[fileInfo.claim_id] === undefined) {
|
||||||
this._updateClaimOwnershipCache(fileInfo.claim_id);
|
this._updateClaimOwnershipCache(fileInfo.claim_id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue