1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 21:03:08 +08:00
osu-lazer/osu.Game/Overlays/Comments/ReportCommentPopover.cs

18 lines
600 B
C#
Raw Normal View History

2022-10-14 20:52:09 +08: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 20:52:09 +08:00
namespace osu.Game.Overlays.Comments
{
2022-12-21 00:37:16 +08:00
public partial class ReportCommentPopover : ReportPopover<CommentReportReason>
2022-10-14 20:52:09 +08:00
{
public ReportCommentPopover(Comment? comment)
2022-12-21 00:37:16 +08:00
: base(ReportStrings.CommentTitle(comment?.User?.Username ?? comment?.LegacyName ?? @"Someone"))
2022-10-14 20:52:09 +08:00
{
}
}
}