Attempt to fix crash when migrating or removing entries from library (#1828)

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
FlaminSarge
2025-03-06 01:51:09 -08:00
committed by GitHub
parent b702603965
commit 563bc02113
3 changed files with 18 additions and 1 deletions

View File

@@ -284,7 +284,7 @@ internal class MigrateDialogScreenModel(
}
if (replace) {
updateManga.await(MangaUpdate(oldManga.id, favorite = false, dateAdded = 0))
updateManga.awaitUpdateFavorite(oldManga.id, favorite = false)
}
// Update custom cover (recheck if custom cover exists)