mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Convert to method groups
because Inspector said so.
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user