Less verbose DrawableFlag constructor.

This commit is contained in:
Nabile Rahmani
2017-07-24 09:25:49 +02:00
parent 65c26f9b24
commit c80f5c708a
5 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Screens.Multiplayer
set
{
host.Text = value.Username;
flagContainer.Children = new[] { new DrawableFlag(value.Country?.FlagName ?? @"__") { RelativeSizeAxes = Axes.Both } };
flagContainer.Children = new[] { new DrawableFlag(value.Country?.FlagName) { RelativeSizeAxes = Axes.Both } };
}
}