mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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;
|
notificationOverlay = notification;
|
||||||
|
|
||||||
Splat.Locator.CurrentMutable.Register(() => new SquirrelLogger(), typeof(Splat.ILogger));
|
Splat.Locator.CurrentMutable.Register(() => new SquirrelLogger(), typeof(Splat.ILogger));
|
||||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task InternalCheckForUpdateAsync() => await checkForUpdateAsync();
|
protected override async Task InternalCheckForUpdateAsync() => await checkForUpdateAsync();
|
||||||
|
@ -28,8 +28,6 @@ namespace osu.Game.Updater
|
|||||||
private void load(OsuGameBase game)
|
private void load(OsuGameBase game)
|
||||||
{
|
{
|
||||||
version = game.Version;
|
version = game.Version;
|
||||||
|
|
||||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task InternalCheckForUpdateAsync()
|
protected override async Task InternalCheckForUpdateAsync()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user