1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Remove brackets surrounding one-line statements

This commit is contained in:
Salman Ahmed 2022-03-04 10:14:19 +03:00
parent 8491bab77c
commit 3fdc7ed9d2

View File

@ -104,13 +104,9 @@ namespace osu.Game.Overlays
string[] values = e.NewValue.Split('/', 2);
if (values.Length > 1 && LanguageExtensions.TryParseCultureCode(values[0], out var language))
{
request = new GetWikiRequest(values[1], language);
}
else
{
request = new GetWikiRequest(e.NewValue);
}
Loading.Show();