mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Convert to method groups
because Inspector said so.
This commit is contained in:
parent
c025814f40
commit
92872496b8
@ -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 }
|
||||
});
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user