Use getFavoriteMangas for updateRatiosAndColors

This commit is contained in:
Jays2Kings 2022-04-30 17:56:07 -04:00
parent dcdb2695dd
commit 233a37fc06

View file

@ -1223,7 +1223,7 @@ class LibraryPresenter(
suspend fun updateRatiosAndColors() {
val db: DatabaseHelper = Injekt.get()
val mangaFetcher = MangaFetcher()
val libraryManga = db.getLibraryMangas().executeOnIO()
val libraryManga = db.getFavoriteMangas().executeOnIO()
libraryManga.forEach { manga ->
mangaFetcher.setRatioAndColors(manga)
}