Fix test failures

This commit is contained in:
smoogipoo
2020-09-08 19:41:05 +09:00
parent b7ca003928
commit 8e2f5d4ea8
2 changed files with 42 additions and 20 deletions

View File

@ -33,6 +33,11 @@ namespace osu.Game.Collections
public bool SupportsImportFromStable => RuntimeInfo.IsDesktop;
/// <summary>
/// Whether the user's database has finished loading.
/// </summary>
public bool DatabaseLoaded { get; private set; }
[Resolved]
private GameHost host { get; set; }
@ -86,6 +91,8 @@ namespace osu.Game.Collections
using (var stream = storage.GetStream(database_name))
await import(stream);
}
DatabaseLoaded = true;
});
/// <summary>