mirror of
https://github.com/ppy/osu
synced 2024-12-28 18:02:53 +00:00
Apply NRT to NewsCard
This commit is contained in:
parent
88c112612f
commit
2279aad360
@ -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 disable
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
@ -27,8 +25,8 @@ namespace osu.Game.Overlays.News
|
|||||||
|
|
||||||
private readonly APINewsPost post;
|
private readonly APINewsPost post;
|
||||||
|
|
||||||
private Box background;
|
private Box background = null!;
|
||||||
private TextFlowContainer main;
|
private TextFlowContainer main = null!;
|
||||||
|
|
||||||
public NewsCard(APINewsPost post)
|
public NewsCard(APINewsPost post)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user