mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Resolve code analysis errors
This commit is contained in:
parent
3d2625836a
commit
c6f450f932
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user