mirror of https://github.com/ppy/osu
Remove string concatenation from ctor
This commit is contained in:
parent
6d51b344ab
commit
d3dc0b63ff
|
@ -25,7 +25,7 @@ public TestSceneOnlineViewContainer()
|
|||
Child = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = onlineView = new OnlineViewContainer(@"view dummy test content")
|
||||
Child = onlineView = new OnlineViewContainer(@"Please sign in to view dummy test content")
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
|
|
|
@ -40,7 +40,7 @@ public OnlineViewContainer(string placeholderMessage)
|
|||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Alpha = 0,
|
||||
Child = placeholder = new LoginPlaceholder($@"Please sign in to {placeholderMessage}")
|
||||
Child = placeholder = new LoginPlaceholder(placeholderMessage)
|
||||
},
|
||||
loading = new LoadingAnimation
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue