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:
parent
8491bab77c
commit
3fdc7ed9d2
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user