Use more local realm reference

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Dean Herbert 2022-05-11 00:45:17 +09:00 committed by GitHub
parent 33f024212f
commit ec231e0f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ namespace osu.Game.Stores
// (ie. if an async import finished very recently).
Realm.Realm.Write(realm =>
{
var managed = Realm.Realm.Find<TModel>(item.ID);
var managed = realm.Find<TModel>(item.ID);
operation(managed);
item.Files.Clear();