Fix issue where update progress was not displayed (#2286)
This commit is contained in:
@@ -476,6 +476,7 @@ export class DownloadsManager extends JsonFileManager<DownloadedItems> {
|
|||||||
update.totalBytes = total;
|
update.totalBytes = total;
|
||||||
update.receivedBytes = transferred;
|
update.receivedBytes = transferred;
|
||||||
update.progress = Math.round(percent);
|
update.progress = Math.round(percent);
|
||||||
|
this.save(APP_UPDATE_KEY, update);
|
||||||
this.shouldShowBadge();
|
this.shouldShowBadge();
|
||||||
}
|
}
|
||||||
private noUpdateAvailable = () => {
|
private noUpdateAvailable = () => {
|
||||||
|
Reference in New Issue
Block a user