Don't try to migrate the manga if its the same id

This commit is contained in:
Jobobby04 2022-11-10 20:22:03 -05:00
parent c96efe1819
commit e2916941d6

View File

@ -290,6 +290,8 @@ class MigrationListPresenter(
manga: Manga,
replace: Boolean,
) {
if (prevManga.id == manga.id) return // Nothing to migrate
val flags = preferences.migrateFlags().get()
// Update chapters read
if (MigrationFlags.hasChapters(flags)) {