Skip to content

Commit

Permalink
Remove refreshing the gamelist when adding to queue and only refresh …
Browse files Browse the repository at this point in the history
…it once queue is empty after downloads, also wont refresh if in nodevicemode
  • Loading branch information
frxctura authored and Fenopy committed May 23, 2023
1 parent 2344d7c commit 0763917
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2333,9 +2333,7 @@ public async void downloadInstallGameButton_Click(object sender, EventArgs e)
_ = await CheckForDevice();
ChangeTitlebarToDevice();
showAvailableSpace();
ChangeTitle("Device now detected... refreshing update list.");
listappsbtn();
initListView();
}
progressBar.Style = ProgressBarStyle.Marquee;
if (gamesListView.SelectedItems.Count == 0)
Expand Down Expand Up @@ -2769,7 +2767,7 @@ public async void downloadInstallGameButton_Click(object sender, EventArgs e)
ChangeTitle("Refreshing games list, please wait... \n");
showAvailableSpace();
listappsbtn();
if (!updateAvailableClicked && !upToDate_Clicked && !NeedsDonation_Clicked)
if (!updateAvailableClicked && !upToDate_Clicked && !NeedsDonation_Clicked && !Properties.Settings.Default.nodevicemode && !gamesQueueList.Any())
{
initListView();
}
Expand Down Expand Up @@ -2846,7 +2844,10 @@ private async Task<bool> compareOBBSizes(string packagename, string gameName, Pr
ChangeTitle("Refreshing games list, please wait... \n");
showAvailableSpace();
listappsbtn();
initListView();
if (!updateAvailableClicked && !upToDate_Clicked && !NeedsDonation_Clicked && !Properties.Settings.Default.nodevicemode && !gamesQueueList.Any())
{
initListView();
}
ShowPrcOutput(output);
progressBar.Style = ProgressBarStyle.Continuous;
etaLabel.Text = "ETA: Finished Queue";
Expand Down

0 comments on commit 0763917

Please sign in to comment.