Don't try to migrate the manga if its the same id
This commit is contained in:
parent
c96efe1819
commit
e2916941d6
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue