mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-25 18:13:04 +00:00
Fix IDE0063
This commit is contained in:
parent
2b3d26910b
commit
2953b87e58
1 changed files with 3 additions and 5 deletions
|
@ -56,11 +56,9 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
|
|
||||||
private static async Task<string> FetchChangelogHtml()
|
private static async Task<string> FetchChangelogHtml()
|
||||||
{
|
{
|
||||||
using (var client = new HttpClient())
|
using var client = new HttpClient();
|
||||||
{
|
client.DefaultRequestHeaders.UserAgent.ParseAdd("Ryujinx-Updater/1.0.0");
|
||||||
client.DefaultRequestHeaders.UserAgent.ParseAdd("Ryujinx-Updater/1.0.0");
|
return await client.GetStringAsync("https://github.com/Ryujinx/Ryujinx/wiki/Changelog");
|
||||||
return await client.GetStringAsync("https://github.com/Ryujinx/Ryujinx/wiki/Changelog");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string ParseChangelogForRecentVersions(string html, int count)
|
private static string ParseChangelogForRecentVersions(string html, int count)
|
||||||
|
|
Loading…
Reference in a new issue