Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorDark committed May 16, 2023
1 parent f74d948 commit 7917f22
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions RHLauncher.LauncherForm/LauncherForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ private static async Task<bool> CheckServerStatusAsync()
try
{
using HttpClient client = new();
HttpResponseMessage response = await client.GetAsync(Configuration.Default.GateStatusUrl);
using HttpResponseMessage response = await client.GetAsync(Configuration.Default.GateStatusUrl);
response.EnsureSuccessStatusCode();
string json = await response.Content.ReadAsStringAsync();
dynamic result = JsonConvert.DeserializeObject(json);
Expand Down Expand Up @@ -555,10 +555,6 @@ private void UninstallButton_Click(object sender, EventArgs e)
HandleException(ex);
}
}
else if (result == DialogResult.No)
{
DialogResult = DialogResult.Cancel;
}
}
}

Expand Down

0 comments on commit 7917f22

Please sign in to comment.