mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Resolve CA errors #2
This commit is contained in:
parent
64fe9692ed
commit
8a9c90c5e6
@ -42,7 +42,7 @@ namespace osu.Game.Online.Chat
|
||||
/// </summary>
|
||||
public bool IsActive => chatOverlay?.IsPresent == true;
|
||||
|
||||
private List<PrivateMessageNotification> privateMessageNotifications = new List<PrivateMessageNotification>();
|
||||
private readonly List<PrivateMessageNotification> privateMessageNotifications = new List<PrivateMessageNotification>();
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config, IAPIProvider api)
|
||||
@ -204,8 +204,7 @@ namespace osu.Game.Online.Chat
|
||||
public int MessageCount
|
||||
{
|
||||
get => messageCount;
|
||||
set => Text = (messageCount = value) > 1 ? $"You received {messageCount} private messages from '{Username}'. Click to read it!"
|
||||
: $"You received a private message from '{Username}'. Click to read it!";
|
||||
set => Text = (messageCount = value) > 1 ? $"You received {messageCount} private messages from '{Username}'. Click to read it!" : $"You received a private message from '{Username}'. Click to read it!";
|
||||
}
|
||||
|
||||
public string Username { get; set; }
|
||||
|
@ -15,7 +15,6 @@ using osuTK.Graphics;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user