Set download progress to zero immediately, don't wait for progress event.

This commit is contained in:
Daniel Scalzi committed 2023-03-24 15:46:37 -04:00
1 parent 47378d63d2
commit 776c46d7e1
3 files changed
+11 -10

No files matched your search

+1
View File
@@ -521,6 +521,7 @@ async function dlAsync(login = true) {
if(invalidFileCount > 0) {
loggerLaunchSuite.info('Downloading files.')
setLaunchDetails('Downloading files..')
setLaunchPercentage(0)
try {
await fullRepairModule.download(percent => {
setDownloadPercentage(percent)