Improve history migration

This commit is contained in:
Jobobby04
2023-04-16 14:12:48 -04:00
parent 4212d155ce
commit b26749d61c
4 changed files with 25 additions and 3 deletions
@@ -344,9 +344,7 @@ class MigrationListScreenModel(
}
updateChapter.awaitAll(chapterUpdates)
historyUpdates.forEach {
upsertHistory.await(it)
}
upsertHistory.awaitAll(historyUpdates)
}
// Update categories
if (MigrationFlags.hasCategories(flags)) {