Skip to content

Commit

Permalink
Set TaskbarItemInfo before starting refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
LaughingLeader committed Jul 17, 2022
1 parent 87cea21 commit 8e79f26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GUI/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2472,6 +2472,8 @@ public void RefreshAsync_Start(string title = "Refreshing...")
userMods.Clear();
Profiles.Clear();
workshopMods.Clear();
view.TaskbarItemInfo.ProgressState = System.Windows.Shell.TaskbarItemProgressState.Normal;
view.TaskbarItemInfo.ProgressValue = 0;
RxApp.TaskpoolScheduler.ScheduleAsync(RefreshAsync);
}

Expand Down

0 comments on commit 8e79f26

Please sign in to comment.