Fix merged manga chapters and merged manga filtered scanlators

This commit is contained in:
Jobobby04
2023-12-27 16:30:56 -05:00
parent d82b2919f8
commit 25f94e4500
5 changed files with 65 additions and 6 deletions
@@ -151,5 +151,17 @@ class ChapterRepositoryImpl(
)
}
}
override suspend fun getScanlatorsByMergeId(mangaId: Long): List<String> {
return handler.awaitList {
chaptersQueries.getScanlatorsByMergeId(mangaId) { it.orEmpty() }
}
}
override fun getScanlatorsByMergeIdAsFlow(mangaId: Long): Flow<List<String>> {
return handler.subscribeToList {
chaptersQueries.getScanlatorsByMergeId(mangaId) { it.orEmpty() }
}
}
// SY <--
}