Update remaining cases of clashes with realm.Write and realm.RegisterForNotifications

This commit is contained in:
Dean Herbert
2022-01-25 13:09:47 +09:00
parent e23b10e6a5
commit d7342880f5
15 changed files with 39 additions and 39 deletions

View File

@ -113,9 +113,9 @@ namespace osu.Game.Screens.Select.Leaderboards
if (beatmapInfo == null)
return;
scoreSubscription = realm.RegisterForNotifications(realm =>
realm.All<ScoreInfo>()
.Filter($"{nameof(ScoreInfo.BeatmapInfo)}.{nameof(BeatmapInfo.ID)} = $0", beatmapInfo.ID),
scoreSubscription = realm.RegisterForNotifications(r =>
r.All<ScoreInfo>()
.Filter($"{nameof(ScoreInfo.BeatmapInfo)}.{nameof(BeatmapInfo.ID)} = $0", beatmapInfo.ID),
(_, changes, ___) =>
{
if (!IsOnlineScope)