1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 03:03:21 +08:00

Fix code quality

This commit is contained in:
smallketchup82 2024-11-16 17:24:44 -05:00
parent c0e8bfb749
commit efcdb268d2
No known key found for this signature in database
GPG Key ID: 7345B7C561243F1E

View File

@ -7,7 +7,6 @@ using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Game;
using osu.Game.Configuration;
using osu.Game.Overlays;
@ -20,7 +19,7 @@ namespace osu.Desktop.Updater
{
public partial class VelopackUpdateManager : Game.Updater.UpdateManager
{
private UpdateManager updateManager;
private UpdateManager updateManager = null!;
private INotificationOverlay notificationOverlay = null!;
[Resolved]
@ -32,9 +31,6 @@ namespace osu.Desktop.Updater
[Resolved]
private OsuConfigManager osuConfigManager { get; set; } = null!;
[Resolved]
private Storage storage { get; set; } = null!;
private bool isInGameplay => localUserInfo?.PlayingState.Value != LocalUserPlayingState.NotPlaying;
private UpdateInfo? pendingUpdate;