Make channel readonly

This commit is contained in:
DrabWeb 2017-05-27 17:49:57 -03:00
parent 754fe956f9
commit b88c07f1a0

View File

@ -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;