mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Remove duplicate calls to CheckForUpdatesAsync
This commit is contained in:
parent
6296cd62d0
commit
95f57ca88c
@ -35,7 +35,6 @@ namespace osu.Desktop.Updater
|
||||
notificationOverlay = notification;
|
||||
|
||||
Splat.Locator.CurrentMutable.Register(() => new SquirrelLogger(), typeof(Splat.ILogger));
|
||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
||||
}
|
||||
|
||||
protected override async Task InternalCheckForUpdateAsync() => await checkForUpdateAsync();
|
||||
|
@ -28,8 +28,6 @@ namespace osu.Game.Updater
|
||||
private void load(OsuGameBase game)
|
||||
{
|
||||
version = game.Version;
|
||||
|
||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
||||
}
|
||||
|
||||
protected override async Task InternalCheckForUpdateAsync()
|
||||
|
Loading…
Reference in New Issue
Block a user