fix last commit

This commit is contained in:
Jays2Kings 2022-12-17 13:50:39 -05:00
parent 35d81dfd97
commit f9fcd8fab7

View file

@ -1078,7 +1078,7 @@ class LibraryPresenter(
}
/** Undo the removal of the manga once in library */
fun reAddMangas(mangas: List<Manga) {
fun reAddMangas(mangas: List<Manga>) {
presenterScope.launch {
val mangaToAdd = mangas.distinctBy { it.id }
mangaToAdd.forEach { it.favorite = true }