1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00

Remove nullable disables

This commit is contained in:
Dan Balasescu 2022-07-20 15:16:40 +09:00
parent f9c02c34b6
commit de29078db2
2 changed files with 2 additions and 6 deletions

View File

@ -1,8 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.Linq; using System.Linq;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Game.Database; using osu.Game.Database;

View File

@ -1,7 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
@ -20,9 +19,8 @@ namespace osu.Game.Screens.Select.Carousel
public class UpdateBeatmapSetButton : OsuAnimatedButton public class UpdateBeatmapSetButton : OsuAnimatedButton
{ {
private readonly BeatmapSetInfo beatmapSetInfo; private readonly BeatmapSetInfo beatmapSetInfo;
private SpriteIcon icon; private SpriteIcon icon = null!;
private Box progressFill = null!;
private Box progressFill;
public UpdateBeatmapSetButton(BeatmapSetInfo beatmapSetInfo) public UpdateBeatmapSetButton(BeatmapSetInfo beatmapSetInfo)
{ {