1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 12:02:54 +08:00

Fix formatting

This commit is contained in:
Craftplacer 2021-05-27 21:58:54 +02:00
parent 2166ab87c6
commit 13b2b7c148
No known key found for this signature in database
GPG Key ID: 0D94BDA3F64B90CE

View File

@ -35,7 +35,7 @@ namespace osu.Game.Online.Chat
private Bindable<bool> notifyOnMention;
private Bindable<bool> notifyOnPM;
private IBindable<User> localUser = new Bindable<User>();
private readonly IBindable<User> localUser = new Bindable<User>();
private readonly BindableList<Channel> joinedChannels = new BindableList<Channel>();
[BackgroundDependencyLoader]
@ -171,7 +171,8 @@ namespace osu.Game.Online.Chat
public class PrivateMessageNotification : OpenChannelNotification
{
public PrivateMessageNotification(string username, Channel channel) : base(channel)
public PrivateMessageNotification(string username, Channel channel)
: base(channel)
{
Icon = FontAwesome.Solid.Envelope;
Text = $"You received a private message from '{username}'. Click to read it!";
@ -180,7 +181,8 @@ namespace osu.Game.Online.Chat
public class MentionNotification : OpenChannelNotification
{
public MentionNotification(string username, Channel channel) : base(channel)
public MentionNotification(string username, Channel channel)
: base(channel)
{
Icon = FontAwesome.Solid.At;
Text = $"Your name was mentioned in chat by '{username}'. Click to find out why!";