diff --git a/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs b/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs index 4b6dbbc5d9..1992e59492 100644 --- a/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/ChangelogWindow.axaml.cs @@ -56,11 +56,9 @@ namespace Ryujinx.Ava.UI.Windows private static async Task FetchChangelogHtml() { - using (var client = new HttpClient()) - { - client.DefaultRequestHeaders.UserAgent.ParseAdd("Ryujinx-Updater/1.0.0"); - return await client.GetStringAsync("https://github.com/Ryujinx/Ryujinx/wiki/Changelog"); - } + using var client = new HttpClient(); + client.DefaultRequestHeaders.UserAgent.ParseAdd("Ryujinx-Updater/1.0.0"); + return await client.GetStringAsync("https://github.com/Ryujinx/Ryujinx/wiki/Changelog"); } private static string ParseChangelogForRecentVersions(string html, int count)