Improve history migration

(cherry picked from commit b26749d61c)
This commit is contained in:
Jobobby04
2023-04-16 14:12:48 -04:00
parent ca423ba13e
commit 6af47d03cb
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)) {