mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 22:37:56 +01:00 
			
		
		
		
	Use Compose on BrowseSourceScreens (#7901)
This commit is contained in:
		| @@ -27,6 +27,10 @@ class MangaRepositoryImpl( | ||||
|         return handler.awaitOneOrNull { mangasQueries.getMangaByUrlAndSource(url, sourceId, mangaMapper) } | ||||
|     } | ||||
|  | ||||
|     override fun getMangaByUrlAndSourceIdAsFlow(url: String, sourceId: Long): Flow<Manga?> { | ||||
|         return handler.subscribeToOneOrNull { mangasQueries.getMangaByUrlAndSource(url, sourceId, mangaMapper) } | ||||
|     } | ||||
|  | ||||
|     override suspend fun getFavorites(): List<Manga> { | ||||
|         return handler.awaitList { mangasQueries.getFavorites(mangaMapper) } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user