Remove string concatenation from ctor

This commit is contained in:
Lucas A 2020-01-23 19:09:34 +01:00
parent 6d51b344ab
commit d3dc0b63ff
2 changed files with 2 additions and 2 deletions

View File

@ -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[]

View File

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