1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 15:27:26 +08:00

Resolve code analysis errors

This commit is contained in:
Craftplacer 2020-01-22 11:23:27 +01:00
parent 3d2625836a
commit c6f450f932

View File

@ -5,7 +5,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
@ -147,9 +146,9 @@ namespace osu.Game.Online.Chat
Text = $"You received a private message from '{Username}'. Click to read it!";
}
public string Username { get; set; }
public string Username { get; }
public Channel Channel { get; set; }
public Channel Channel { get; }
public Action<PrivateMessageNotification> OnRemove { get; set; }
@ -180,7 +179,7 @@ namespace osu.Game.Online.Chat
Channel = channel;
}
public Channel Channel { get; set; }
public Channel Channel { get; }
public override bool IsImportant => false;