mirror of
https://github.com/ppy/osu
synced 2025-02-21 04:57:11 +00:00
Make channel readonly
This commit is contained in:
parent
754fe956f9
commit
b88c07f1a0
@ -20,6 +20,8 @@ namespace osu.Game.Overlays.Chat
|
||||
private const float text_size = 15;
|
||||
private const float transition_duration = 100;
|
||||
|
||||
private readonly Channel channel;
|
||||
|
||||
private readonly OsuSpriteText topic;
|
||||
private readonly TextAwesome joinedCheckmark;
|
||||
|
||||
@ -38,8 +40,6 @@ namespace osu.Game.Overlays.Chat
|
||||
public Action<Channel> OnRequestJoin;
|
||||
public Action<Channel> OnRequestLeave;
|
||||
|
||||
private Channel channel;
|
||||
|
||||
public ChannelListItem(Channel channel)
|
||||
{
|
||||
this.channel = channel;
|
||||
|
Loading…
Reference in New Issue
Block a user