Поправки FileDownloader

This commit is contained in:
Book Pauk
2022-12-11 15:38:51 +07:00
parent f5e57b3319
commit f30f11ce2d
2 changed files with 6 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ class ReaderWorker {
let downloadSize = -1;
//download or use uploaded
if (url.indexOf('disk://') != 0) {//download
const downdata = await this.down.load(url, (progress) => {
const downdata = await this.down.load(url, {}, (progress) => {
wState.set({progress});
}, q.abort);