mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
Fix code quality
This commit is contained in:
parent
c0e8bfb749
commit
efcdb268d2
@ -7,7 +7,6 @@ using System.Threading.Tasks;
|
|||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Logging;
|
using osu.Framework.Logging;
|
||||||
using osu.Framework.Platform;
|
|
||||||
using osu.Game;
|
using osu.Game;
|
||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
using osu.Game.Overlays;
|
using osu.Game.Overlays;
|
||||||
@ -20,7 +19,7 @@ namespace osu.Desktop.Updater
|
|||||||
{
|
{
|
||||||
public partial class VelopackUpdateManager : Game.Updater.UpdateManager
|
public partial class VelopackUpdateManager : Game.Updater.UpdateManager
|
||||||
{
|
{
|
||||||
private UpdateManager updateManager;
|
private UpdateManager updateManager = null!;
|
||||||
private INotificationOverlay notificationOverlay = null!;
|
private INotificationOverlay notificationOverlay = null!;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
@ -32,9 +31,6 @@ namespace osu.Desktop.Updater
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private OsuConfigManager osuConfigManager { get; set; } = null!;
|
private OsuConfigManager osuConfigManager { get; set; } = null!;
|
||||||
|
|
||||||
[Resolved]
|
|
||||||
private Storage storage { get; set; } = null!;
|
|
||||||
|
|
||||||
private bool isInGameplay => localUserInfo?.PlayingState.Value != LocalUserPlayingState.NotPlaying;
|
private bool isInGameplay => localUserInfo?.PlayingState.Value != LocalUserPlayingState.NotPlaying;
|
||||||
|
|
||||||
private UpdateInfo? pendingUpdate;
|
private UpdateInfo? pendingUpdate;
|
||||||
|
Loading…
Reference in New Issue
Block a user