Skip to content

Commit a47f228

Browse files
committed
Always reset progress on WpfPackageContext
1 parent d8820cf commit a47f228

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CollapseLauncher/Classes/GameManagement/WpfPackage/WpfPackageContext.Methods.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ private async ValueTask<bool> StartUpdateCheckAsyncCore(bool isForce = false)
3636

3737
// Resets token
3838
ResetCancelToken();
39+
ResetStatusAndProgress();
3940

4041
ChangesInProgress = true;
4142
IsCheckAlreadyPerformed = true;
4243
Status.IsProgressAllIndetermined = true;
44+
ProgressAllSizeTotal = 0;
45+
ProgressPerFileSizeTotal = 0;
4346

4447
// Cancel if no update is available
4548
if (WpfPackageData == null ||

0 commit comments

Comments
 (0)