mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-22 08:30:24 -07:00
Display all similarly named duplicates in duplicate manga dialogue (#1861)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
co-authored by
AntsyLich
parent
f81da3dcce
commit
0d35b6fdaf
@@ -7,7 +7,7 @@ class GetDuplicateLibraryManga(
|
||||
private val mangaRepository: MangaRepository,
|
||||
) {
|
||||
|
||||
suspend fun await(manga: Manga): List<Manga> {
|
||||
suspend operator fun invoke(manga: Manga): List<Manga> {
|
||||
return mangaRepository.getDuplicateLibraryManga(manga.id, manga.title.lowercase())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user