Move async loading to a higher level to simplify logic

This commit is contained in:
Dean Herbert
2017-07-14 14:39:15 +09:00
parent 980fb18ed6
commit 133bcdec7a
2 changed files with 9 additions and 7 deletions

View File

@ -15,12 +15,12 @@ namespace osu.Desktop.VisualTests.Tests
{
AddStep(@"display", () =>
{
Add(new MedalOverlay(new Medal
LoadComponentAsync(new MedalOverlay(new Medal
{
Name = @"Animations",
InternalName = @"all-intro-doubletime",
Description = @"More complex than you think.",
}));
}), Add);
});
}
}