Fix welcome screen language buttons not working

This commit is contained in:
Bartłomiej Dach 2022-12-19 18:19:26 +01:00
parent b42accb763
commit 186ccc64fd
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ public LanguageButton(Language language)
[BackgroundDependencyLoader]
private void load()
{
InternalChildren = new Drawable[]
AddRange(new Drawable[]
{
backgroundBox = new Box
{
@ -162,7 +162,7 @@ private void load()
Colour = colourProvider.Light1,
Text = Language.GetDescription(),
}
};
});
}
protected override void LoadComplete()