mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-09 12:59:34 +02:00
Fix same manga check logic in mass migration
This commit is contained in:
@@ -146,7 +146,7 @@ class MigrationListScreenModel(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.await()
|
.await()
|
||||||
} catch (e: CancellationException) {
|
} catch (_: CancellationException) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@ class MigrationListScreenModel(
|
|||||||
smartSearchEngine.regularSearch(source, manga.title)
|
smartSearchEngine.regularSearch(source, manga.title)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (searchResult == null || !(searchResult.url == manga.url && source.id == manga.source)) return null
|
if (searchResult == null || (searchResult.url == manga.url && source.id == manga.source)) return null
|
||||||
|
|
||||||
val localManga = networkToLocalManga(searchResult)
|
val localManga = networkToLocalManga(searchResult)
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user