1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-05 13:13:22 +08:00

Use local realm rather than fetching from dependencies

This commit is contained in:
Dean Herbert 2022-08-23 17:06:32 +09:00
parent 690e048864
commit a62deae3cc

View File

@ -141,7 +141,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("Add collection", () =>
{
Dependencies.Get<RealmAccess>().Write(r =>
Realm.Write(r =>
{
r.RemoveAll<BeatmapCollection>();
r.Add(new BeatmapCollection("wang"));