mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Use getFavoriteMangas for updateRatiosAndColors
This commit is contained in:
parent
dcdb2695dd
commit
233a37fc06
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue