Move API and DO to fields

This commit is contained in:
ansel 2022-09-27 22:46:23 +03:00
parent 58d9509ce6
commit ae0d62838b

View File

@ -56,13 +56,19 @@ namespace osu.Game.Overlays.Comments
private ChevronButton chevronButton;
private DeletedCommentsCounter deletedCommentsCounter;
[Resolved]
private DialogOverlay dialogOverlay { get; set; }
[Resolved]
private IAPIProvider api { get; set; }
public DrawableComment(Comment comment)
{
Comment = comment;
}
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider, IAPIProvider api, DialogOverlay dialogOverlay)
private void load(OverlayColourProvider colourProvider)
{
LinkFlowContainer username;
FillFlowContainer info;