1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-29 20:27:39 +08:00
osu-lazer/osu.Game/Overlays/Chat/ReportChatPopover.cs

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

19 lines
590 B
C#
Raw Normal View History

2022-12-20 22:46:05 +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;
namespace osu.Game.Overlays.Chat
{
2022-12-21 00:37:16 +08:00
public partial class ReportChatPopover : ReportPopover<ChatReportReason>
2022-12-20 22:46:05 +08:00
{
public ReportChatPopover(APIUser? user)
2022-12-21 00:37:16 +08:00
: base(ReportStrings.UserTitle(user?.Username ?? @"Someone"))
2022-12-20 22:46:05 +08:00
{
2022-12-21 00:37:16 +08:00
CanSubmitEmptyReason = true;
2022-12-20 22:46:05 +08:00
}
}
}