Don't exclude same source when checking for duplicate entries
Closes #8870
This commit is contained in:
@@ -48,9 +48,9 @@ class MangaRepositoryImpl(
|
||||
return handler.subscribeToList { mangasQueries.getFavoriteBySourceId(sourceId, mangaMapper) }
|
||||
}
|
||||
|
||||
override suspend fun getDuplicateLibraryManga(title: String, sourceId: Long): Manga? {
|
||||
override suspend fun getDuplicateLibraryManga(title: String): Manga? {
|
||||
return handler.awaitOneOrNull {
|
||||
mangasQueries.getDuplicateLibraryManga(title, sourceId, mangaMapper)
|
||||
mangasQueries.getDuplicateLibraryManga(title, mangaMapper)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user