osu/osu.Game/Overlays/Comments/ReportCommentPopover.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
600 B
C#
Raw Normal View History

2022-10-14 12:52:09 +00:00
// 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.
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Resources.Localisation.Web;
2022-10-14 12:52:09 +00:00
namespace osu.Game.Overlays.Comments
{
2022-12-20 16:37:16 +00:00
public partial class ReportCommentPopover : ReportPopover<CommentReportReason>
2022-10-14 12:52:09 +00:00
{
public ReportCommentPopover(Comment? comment)
2022-12-20 16:37:16 +00:00
: base(ReportStrings.CommentTitle(comment?.User?.Username ?? comment?.LegacyName ?? @"Someone"))
2022-10-14 12:52:09 +00:00
{
}
}
}