1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Convert to method groups

because Inspector said so.
This commit is contained in:
Craftplacer 2020-05-07 23:27:28 +02:00
parent c025814f40
commit 92872496b8
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
Add(new SettingsButton
{
Text = "Check for updates",
Action = () => updateManager.CheckForUpdate(),
Action = updateManager.CheckForUpdate,
Enabled = { Value = game.IsDeployedBuild }
});

View File

@ -33,7 +33,7 @@ namespace osu.Game.Updater
CheckForUpdate();
}
public override void CheckForUpdate() => Schedule(() => Task.Run(() => checkForUpdateAsync()));
public override void CheckForUpdate() => Schedule(() => Task.Run(checkForUpdateAsync));
private async void checkForUpdateAsync()
{