From 5a0dc0b5c22fc39eecbf32710e5bf250ca88b4c1 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Tue, 14 Mar 2017 12:15:21 -0400 Subject: [PATCH] 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) --- ui/js/lbry.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/js/lbry.js b/ui/js/lbry.js index 7d598a833..5d41abc42 100644 --- a/ui/js/lbry.js +++ b/ui/js/lbry.js @@ -429,7 +429,10 @@ lbry._updateSubscribedFileInfo = function(outpoint) { if (lbry._removedFiles.includes(outpoint)) { callSubscribedCallbacks(outpoint, false); } else { - lbry.file_list({outpoint: outpoint}).then(([fileInfo]) => { + lbry.file_list({ + outpoint: outpoint, + full_status: true, + }).then(([fileInfo]) => { if (fileInfo) { if (this._claimIdOwnershipCache[fileInfo.claim_id] === undefined) { this._updateClaimOwnershipCache(fileInfo.claim_id);