Small style changes

This commit is contained in:
FreezyLemon 2017-12-07 16:41:46 +01:00
parent 465f92af07
commit 772bba27be
2 changed files with 2 additions and 3 deletions

View File

@ -66,8 +66,8 @@ namespace osu.Game.Tests.Visual
private class DummyMessage : Message private class DummyMessage : Message
{ {
private static long messageCounter = 0; private static long messageCounter;
private static User sender = new User private readonly static User sender = new User
{ {
Username = @"Somebody", Username = @"Somebody",
Id = 1, Id = 1,

View File

@ -256,7 +256,6 @@ namespace osu.Game.Overlays.Chat
}); });
} }
// Add text after the last link
var lastLink = message.Links[message.Links.Count - 1]; var lastLink = message.Links[message.Links.Count - 1];
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length)); contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
} }