mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	chore: use the new function format to map the manga.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
		| @@ -22,7 +22,7 @@ import logcat.LogPriority | ||||
| import tachiyomi.core.util.system.logcat | ||||
| import tachiyomi.data.Chapters | ||||
| import tachiyomi.data.DatabaseHandler | ||||
| import tachiyomi.data.manga.mangaMapper | ||||
| import tachiyomi.data.manga.MangaMapper.mapManga | ||||
| import tachiyomi.domain.category.interactor.GetCategories | ||||
| import tachiyomi.domain.manga.interactor.GetFavorites | ||||
| import tachiyomi.domain.manga.model.Manga | ||||
| @@ -172,7 +172,7 @@ class SyncManager( | ||||
|      * @return a list of all manga stored in the database | ||||
|      */ | ||||
|     private suspend fun getAllMangaFromDB(): List<Manga> { | ||||
|         return handler.awaitList { mangasQueries.getAllManga(mangaMapper) } | ||||
|         return handler.awaitList { mangasQueries.getAllManga(::mapManga) } | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user