Rename remaining clashing variables to appease CI somewhere

This commit is contained in:
Dean Herbert 2021-11-05 17:02:23 +09:00
parent 7772a97cf7
commit 846c80f12c
1 changed files with 5 additions and 5 deletions

View File

@ -209,15 +209,15 @@ void convertOnlineIDs<T>() where T : RealmObject
case 9:
// Pretty pointless to do this as beatmaps aren't really loaded via realm yet, but oh well.
var oldItems = migration.OldRealm.DynamicApi.All(getMappedOrOriginalName(typeof(RealmBeatmapMetadata)));
var newItems = migration.NewRealm.All<RealmBeatmapMetadata>();
var oldMetadata = migration.OldRealm.DynamicApi.All(getMappedOrOriginalName(typeof(RealmBeatmapMetadata)));
var newMetadata = migration.NewRealm.All<RealmBeatmapMetadata>();
int itemCount = newItems.Count();
int itemCount = newMetadata.Count();
for (int i = 0; i < itemCount; i++)
{
dynamic? oldItem = oldItems.ElementAt(i);
var newItem = newItems.ElementAt(i);
dynamic? oldItem = oldMetadata.ElementAt(i);
var newItem = newMetadata.ElementAt(i);
string username = oldItem.Author;
newItem.Author = new RealmUser