mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-09 04:49:33 +02:00
Fix same manga check logic in mass migration
This commit is contained in:
@@ -146,7 +146,7 @@ class MigrationListScreenModel(
|
||||
}
|
||||
}
|
||||
.await()
|
||||
} catch (e: CancellationException) {
|
||||
} catch (_: CancellationException) {
|
||||
continue
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ class MigrationListScreenModel(
|
||||
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)
|
||||
try {
|
||||
|
Reference in New Issue
Block a user